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 4a5e9f4d5b
commit d77da8c62d

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()