mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-19 03:49:29 +00:00
Fix clientside access on server
This commit is contained in:
1 parent
f0978fcd84
commit
f895951cb4
1 file changed
+1
-1
@@ -30,7 +30,7 @@ public class TActiveOmniMod extends ActiveToolMod
|
||||
{
|
||||
if (!world.isRemote && entity instanceof EntityLivingBase && !((EntityLivingBase) entity).isSwingInProgress && stack.getTagCompound() != null)
|
||||
{
|
||||
if(entity instanceof EntityPlayer && (((EntityPlayer) entity).isUsingItem()) && ((EntityPlayer) entity).getItemInUse() == stack)
|
||||
if(entity instanceof EntityPlayer && (((EntityPlayer) entity).isUsingItem()))
|
||||
return;
|
||||
NBTTagCompound tags = stack.getTagCompound().getCompoundTag("InfiTool");
|
||||
if (tags.hasKey("Moss"))
|
||||
|
||||
Reference in new issue
Block a user