whoops that was meant to be _client side_

This commit is contained in:
George Paton 2025-03-31 18:27:25 +11:00
parent 4a0ac6e95f
commit f465758bfd

View File

@ -234,7 +234,7 @@ public class ItemConveyorWand extends Item {
ItemStack held = player.getHeldItem(); ItemStack held = player.getHeldItem();
if(held == null || held.getItem() != this || held.getItemDamage() != stack.getItemDamage()) { if(held == null || held.getItem() != this || held.getItemDamage() != stack.getItemDamage()) {
stack.stackTagCompound = null; stack.stackTagCompound = null;
if(!world.isRemote) { if(world.isRemote) {
RenderOverhead.clearActionPreview(); RenderOverhead.clearActionPreview();
lastMop = null; lastMop = null;
} }
@ -242,7 +242,7 @@ public class ItemConveyorWand extends Item {
} }
// clientside prediction only // clientside prediction only
if(!world.isRemote && inHand) { if(world.isRemote && inHand) {
if(!stack.hasTagCompound()) { if(!stack.hasTagCompound()) {
RenderOverhead.clearActionPreview(); RenderOverhead.clearActionPreview();
lastMop = null; lastMop = null;