Fix null slotconfig for IndustrialGrinder. Closes #1810
This commit is contained in:
parent
f3cdd131a0
commit
5cf7bc9107
1 changed files with 4 additions and 6 deletions
|
@ -83,7 +83,7 @@ public class IndustrialGrinderBlockEntity extends GenericMachineBlockEntity impl
|
|||
final BlockPos downCenter = pos.offset(getFacing().getOpposite(), 2).down();
|
||||
multiblockChecker = new MultiblockChecker(world, downCenter);
|
||||
}
|
||||
|
||||
|
||||
ticksSinceLastChange++;
|
||||
// Check cells input slot 2 time per second
|
||||
if (!world.isClient && ticksSinceLastChange >= 10) {
|
||||
|
@ -93,12 +93,10 @@ public class IndustrialGrinderBlockEntity extends GenericMachineBlockEntity impl
|
|||
}
|
||||
ticksSinceLastChange = 0;
|
||||
}
|
||||
|
||||
if (!world.isClient && getMultiBlock()) {
|
||||
super.tick();
|
||||
}
|
||||
|
||||
super.tick();
|
||||
}
|
||||
|
||||
|
||||
@Override
|
||||
public void fromTag(final CompoundTag tagCompound) {
|
||||
super.fromTag(tagCompound);
|
||||
|
|
Loading…
Reference in a new issue