game creation
This commit is contained in:
parent
a8dda4ef8b
commit
4c72651f86
@ -100,16 +100,21 @@ public class GameCreationManager implements Listener
|
||||
//Cleaned
|
||||
if (game.WorldData == null || game.WorldData.World == null)
|
||||
{
|
||||
gameIterator.remove();
|
||||
gameIterator.remove();
|
||||
}
|
||||
else
|
||||
{
|
||||
{
|
||||
if (UtilTime.elapsed(game.GetStateTime(), 10000))
|
||||
{
|
||||
TimeUtil.start("GameCreationManager - Kick Players - " + game.GetName());
|
||||
|
||||
for (Player player : game.WorldData.World.getPlayers())
|
||||
{
|
||||
System.out.println("Kicking [" + player.getName() + "] with Validity [" + player.isValid() + "]");
|
||||
|
||||
player.kickPlayer("Dead World");
|
||||
}
|
||||
|
||||
|
||||
TimeUtil.stop();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user