Not just the master block should be able to interact with the IC2 energy net

This commit is contained in:
malte0811 2018-06-14 22:01:39 +02:00
parent 7008f53faa
commit 2b9ec80253

View file

@ -90,6 +90,10 @@ public class TileEntityMechMB extends TileEntityIWMultiblock implements ITickabl
@Override
public void update() {
ApiUtils.checkForNeedlessTicking(this);
if (firstTick) {
Compat.loadIC2Tile.accept(this);
firstTick = false;
}
if (isLogicDummy() || mechanical == null) {
return;
}
@ -105,10 +109,6 @@ public class TileEntityMechMB extends TileEntityIWMultiblock implements ITickabl
}
}
}
if (firstTick) {
Compat.loadIC2Tile.accept(this);
firstTick = false;
}
if (world.isRemote) {
return;
}