use of ic2.api.energy.event.EnergyTileUnloadEvent in project Flux-Networks by SonarSonic.
the class TileFluxIC2 method invalidate.
@Override
@Optional.Method(modid = "ic2")
public void invalidate() {
super.invalidate();
if (!this.getWorld().isRemote && IC2Connected) {
MinecraftForge.EVENT_BUS.post(new EnergyTileUnloadEvent(this));
IC2Connected = false;
}
}
Aggregations