From 5c8327f040fe9b0ec64187ab493eb31ec9cafba0 Mon Sep 17 00:00:00 2001 From: AlgorithmX2 Date: Sat, 28 Jun 2014 00:21:37 -0500 Subject: [PATCH] Post Cache Construction Event should fire before things access grid caches. --- me/Grid.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/me/Grid.java b/me/Grid.java index dce6123a9..cb6c0d7ac 100644 --- a/me/Grid.java +++ b/me/Grid.java @@ -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> getMachineClasses()