Moved the onlogin network message to do what it should have been doing

This commit is contained in:
CannibalVox
2015-03-12 12:16:39 -05:00
parent 7e8b682c23
commit bb2525d94e
4 changed files with 14 additions and 10 deletions

View File

@@ -119,10 +119,9 @@ public class EventHookContainer
// fires before we can use DimensionManager and onServerStarting fires
// after the game tries to generate terrain. If a gateway tries to
// generate before PocketManager has initialized, we get a crash.
if (!PocketManager.isLoaded())
if (!event.world.isRemote && !PocketManager.isLoaded())
{
PocketManager.load();
PocketManager.isConnected = true;
}
}