From af62a85677fc0ffb532e0974d957a2ee9af5e618 Mon Sep 17 00:00:00 2001 From: drcrazy Date: Fri, 18 Dec 2020 16:40:15 +0300 Subject: [PATCH] Chunkloader handles wrench properly. Closes #2308 --- .../blockentity/machine/tier3/ChunkLoaderBlockEntity.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/main/java/techreborn/blockentity/machine/tier3/ChunkLoaderBlockEntity.java b/src/main/java/techreborn/blockentity/machine/tier3/ChunkLoaderBlockEntity.java index d20acb781..2aa133cd9 100644 --- a/src/main/java/techreborn/blockentity/machine/tier3/ChunkLoaderBlockEntity.java +++ b/src/main/java/techreborn/blockentity/machine/tier3/ChunkLoaderBlockEntity.java @@ -114,10 +114,8 @@ public class ChunkLoaderBlockEntity extends MachineBaseBlockEntity implements IT @Override public void onPlace(World worldIn, BlockPos pos, BlockState state, LivingEntity placer, ItemStack stack) { - if (world.isClient) { - return; - } ownerUdid = placer.getUuidAsString(); + if (worldIn.isClient) return; reload(); }