SurvivalGames: Fix anyone able to start game
This commit is contained in:
parent
3a6c030f01
commit
5f2810ae37
@ -43,7 +43,6 @@ import org.bukkit.event.hanging.HangingBreakEvent;
|
||||
import org.bukkit.event.inventory.InventoryCloseEvent;
|
||||
import org.bukkit.event.inventory.PrepareItemCraftEvent;
|
||||
import org.bukkit.event.player.PlayerChangedWorldEvent;
|
||||
import org.bukkit.event.player.PlayerChatEvent;
|
||||
import org.bukkit.event.player.PlayerCommandPreprocessEvent;
|
||||
import org.bukkit.event.player.PlayerInteractEvent;
|
||||
import org.bukkit.event.player.PlayerJoinEvent;
|
||||
@ -913,16 +912,6 @@ public class SurvivalGames extends SoloGame
|
||||
}
|
||||
}
|
||||
|
||||
@EventHandler
|
||||
public void onChat(PlayerChatEvent event)
|
||||
{
|
||||
if (event.getMessage().equalsIgnoreCase("start game") && GetState() == GameState.Recruit)
|
||||
{
|
||||
// TODO Remove
|
||||
getArcadeManager().GetGameManager().StateCountdown(this, 1, true);
|
||||
}
|
||||
}
|
||||
|
||||
@EventHandler
|
||||
public void DisableDamageLevel(CustomDamageEvent event)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user