From 9d6890946d356299e3f010a724fb4ef8b592f5fb Mon Sep 17 00:00:00 2001 From: Dave Smith Date: Wed, 15 Sep 2021 11:40:16 -0600 Subject: [PATCH] Fix issue 2496; don't tick watermill on client side (#2498) --- .../blockentity/generator/basic/WaterMillBlockEntity.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/main/java/techreborn/blockentity/generator/basic/WaterMillBlockEntity.java b/src/main/java/techreborn/blockentity/generator/basic/WaterMillBlockEntity.java index 973eddcb8..87b83c09c 100644 --- a/src/main/java/techreborn/blockentity/generator/basic/WaterMillBlockEntity.java +++ b/src/main/java/techreborn/blockentity/generator/basic/WaterMillBlockEntity.java @@ -55,6 +55,10 @@ public class WaterMillBlockEntity extends PowerAcceptorBlockEntity implements IT @Override public void tick(World world, BlockPos pos, BlockState state, MachineBaseBlockEntity blockEntity) { super.tick(world, pos, state, blockEntity); + if (world.isClient) { + return; + } + if (world.getTime() % 20 == 0) { checkForWater(); }