diff options
| author | fatpigsarefat <fatpigsarefat@outlook.com> | 2019-01-26 16:52:23 +0000 |
|---|---|---|
| committer | fatpigsarefat <fatpigsarefat@outlook.com> | 2019-01-26 16:52:23 +0000 |
| commit | aa879f458c90524d68772f3c970f83555ed5532c (patch) | |
| tree | 9f3d305f790f61f409f9df6076da12573a3485c4 /src/test/java/FakePlayerJoinEvent.java | |
| parent | 6a4d3a9f0bc51fa9971d1d47dee7218a152d5e35 (diff) | |
Added tests
Diffstat (limited to 'src/test/java/FakePlayerJoinEvent.java')
| -rw-r--r-- | src/test/java/FakePlayerJoinEvent.java | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/test/java/FakePlayerJoinEvent.java b/src/test/java/FakePlayerJoinEvent.java new file mode 100644 index 00000000..fa605435 --- /dev/null +++ b/src/test/java/FakePlayerJoinEvent.java @@ -0,0 +1,13 @@ +import org.bukkit.entity.Player; +import org.bukkit.event.player.PlayerJoinEvent; + +/** + * fake join event for testing (implements 1.12.2) + */ +public class FakePlayerJoinEvent extends PlayerJoinEvent { + + public FakePlayerJoinEvent(Player playerJoined, String joinMessage) { + super(playerJoined, joinMessage); + } + +} |
