Some more fixes to the energy net
This commit is contained in:
parent
7e5e40a338
commit
6765756e2d
2 changed files with 5 additions and 3 deletions
|
@ -32,8 +32,10 @@ public class TRTickHandler {
|
|||
|
||||
@SubscribeEvent
|
||||
public void worldTick(TickEvent.WorldTickEvent e) {
|
||||
if(!e.world.isRemote)
|
||||
MinecraftForge.EVENT_BUS.post(new PowerTickEvent());
|
||||
if(e.world.isRemote){
|
||||
return;
|
||||
}
|
||||
MinecraftForge.EVENT_BUS.post(new PowerTickEvent());
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue