Chunkloader handles wrench properly. Closes #2308
This commit is contained in:
parent
b720fa99b9
commit
af62a85677
1 changed files with 1 additions and 3 deletions
|
@ -114,10 +114,8 @@ public class ChunkLoaderBlockEntity extends MachineBaseBlockEntity implements IT
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void onPlace(World worldIn, BlockPos pos, BlockState state, LivingEntity placer, ItemStack stack) {
|
public void onPlace(World worldIn, BlockPos pos, BlockState state, LivingEntity placer, ItemStack stack) {
|
||||||
if (world.isClient) {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
ownerUdid = placer.getUuidAsString();
|
ownerUdid = placer.getUuidAsString();
|
||||||
|
if (worldIn.isClient) return;
|
||||||
reload();
|
reload();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue