(ItemStack aStack)
| 255 | return invalid(aStack)?aStack:update_(aStack); |
| 256 | } |
| 257 | public static ItemStack update_(ItemStack aStack) { |
| 258 | if (aStack.hasTagCompound() && aStack.getTagCompound().hasNoTags()) aStack.setTagCompound(null); |
| 259 | if (item_(aStack) instanceof IItemUpdatable) ((IItemUpdatable)item_(aStack)).updateItemStack(aStack); |
| 260 | return aStack; |
| 261 | } |
| 262 | public static ItemStack update (ItemStack aStack, World aWorld, int aX, int aY, int aZ) { |
| 263 | return invalid(aStack)?aStack:update_(aStack, aWorld, aX, aY, aZ); |
| 264 | } |
no test coverage detected