Structure checks done in PlayerJoinListener as individual methods

This commit is contained in:
ljacqu
2016-05-29 11:45:12 +02:00
parent 2c92a8b52f
commit 39d8a88142
4 changed files with 216 additions and 128 deletions
@@ -164,7 +164,7 @@ public class AntiBotTest {
AntiBot antiBot = createListeningAntiBot();
// when
antiBot.checkAntiBot(player);
antiBot.handlePlayerJoin(player);
// then
@SuppressWarnings("unchecked")
@@ -194,7 +194,7 @@ public class AntiBotTest {
AntiBot antiBot = createListeningAntiBot();
// when
antiBot.checkAntiBot(player);
antiBot.handlePlayerJoin(player);
// then
@SuppressWarnings("rawtypes")