mirror of
https://github.com/HbmMods/Hbm-s-Nuclear-Tech-GIT.git
synced 2026-01-25 10:32:49 +00:00
whoops that was meant to be _client side_
This commit is contained in:
parent
4a0ac6e95f
commit
f465758bfd
@ -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;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user