fixed a NPE
This commit is contained in:
parent
97abe79ffa
commit
8ea344cacd
@ -94,7 +94,7 @@ public class GameCreationManager implements Listener
|
||||
|
||||
HandlerList.unregisterAll(game);
|
||||
|
||||
System.out.println("GameCreationManager - DEBUG - Attempting Removal - " + game.WorldData.Folder + " - " + System.currentTimeMillis());
|
||||
System.out.println("GameCreationManager - DEBUG - Attempting Removal - " + game.GetName() + " - " + System.currentTimeMillis());
|
||||
|
||||
//Cleaned
|
||||
if (game.WorldData == null)
|
||||
@ -123,6 +123,7 @@ public class GameCreationManager implements Listener
|
||||
{
|
||||
game.WorldData.Uninitialize();
|
||||
game.WorldData = null;
|
||||
gameIterator.remove();
|
||||
|
||||
System.out.println("GameCreationManager - DEBUG - Uninit World - " + System.currentTimeMillis());
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user