Remove join message spam when someone spams the join signs

This commit is contained in:
addstar 2014-05-26 22:17:51 +10:00
parent 986fab6e38
commit 44cc747cc9

View File

@ -59,7 +59,6 @@ public class ArenaHandler {
}
if (!alreadyJoined) {
System.out.println("[BlockHunt] " + player.getName() + " has joined " + arenaname);
for (Arena arena : W.arenaList) {
if (arena.arenaName.equalsIgnoreCase(arenaname)) {
found = true;
@ -96,6 +95,7 @@ public class ArenaHandler {
return;
}
}
System.out.println("[BlockHunt] " + player.getName() + " has joined " + arenaname);
arena.playersInArena.add(player);
PlayerArenaData pad = new PlayerArenaData(player.getLocation(), player.getGameMode(), player.getInventory().getContents(), player