Return false from hasEffect (prevent enchantment glow)

This commit is contained in:
skyboy authored and mDiyo committed 2013-08-31 00:54:37 -07:00
1 parent 8c3597f7e7
commit 59386fbe71
1 file changed
+6
+6
View File
@@ -139,6 +139,12 @@ public abstract class ToolCore extends Item implements ICustomElectricItem, IBox
return 9;
}
@SideOnly(Side.CLIENT)
public boolean hasEffect(ItemStack par1ItemStack)
{
return false;
}
//Override me please!
public int getPartAmount ()
{