Post Cache Construction Event should fire before things access grid caches.

This commit is contained in:
AlgorithmX2
2014-06-28 00:21:37 -05:00
parent 40e71566ea
commit 5c8327f040
+2 -2
View File
@@ -40,10 +40,10 @@ public class Grid implements IGrid
caches.put( c, new GridCacheWrapper( myCaches.get( c ) ) );
}
postEvent( new MENetworkPostCacheConstruction() );
TickHandler.instance.addNetwork( this );
center.setGrid( this );
postEvent( new MENetworkPostCacheConstruction() );
}
public Set<Class<? extends IGridHost>> getMachineClasses()