New Post Cache Construction Event.
This commit is contained in:
parent
b57804be06
commit
5264a718f9
1 changed files with 3 additions and 0 deletions
|
@ -12,6 +12,7 @@ import appeng.api.networking.IGridHost;
|
||||||
import appeng.api.networking.IGridNode;
|
import appeng.api.networking.IGridNode;
|
||||||
import appeng.api.networking.IMachineSet;
|
import appeng.api.networking.IMachineSet;
|
||||||
import appeng.api.networking.events.MENetworkEvent;
|
import appeng.api.networking.events.MENetworkEvent;
|
||||||
|
import appeng.api.networking.events.MENetworkPostCacheConstruction;
|
||||||
import appeng.api.util.IReadOnlyCollection;
|
import appeng.api.util.IReadOnlyCollection;
|
||||||
import appeng.core.WorldSettings;
|
import appeng.core.WorldSettings;
|
||||||
import appeng.helpers.TickHandler;
|
import appeng.helpers.TickHandler;
|
||||||
|
@ -40,6 +41,8 @@ public class Grid implements IGrid
|
||||||
|
|
||||||
TickHandler.instance.addNetwork( this );
|
TickHandler.instance.addNetwork( this );
|
||||||
center.setGrid( this );
|
center.setGrid( this );
|
||||||
|
|
||||||
|
postEvent( new MENetworkPostCacheConstruction() );
|
||||||
}
|
}
|
||||||
|
|
||||||
public Set<Class<? extends IGridHost>> getMachineClasses()
|
public Set<Class<? extends IGridHost>> getMachineClasses()
|
||||||
|
|
Loading…
Reference in a new issue