mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-13 17:04:24 +00:00
Fix possible crash with broken frying pans/battlesigns #1372
This commit is contained in:
1 parent
2812f80173
commit
8d3cfce638
1 file changed
+1
-1
@@ -205,7 +205,7 @@ public class EquipBlock extends InventoryBlock
|
||||
{
|
||||
EquipLogic logic = (EquipLogic) te;
|
||||
ItemStack stack = logic.getEquipmentItem();
|
||||
if (stack != null)
|
||||
if (stack != null && stack.hasTagCompound() && stack.getTagCompound().hasKey("InfiTool"))
|
||||
{
|
||||
NBTTagCompound tag = stack.getTagCompound().getCompoundTag("InfiTool");
|
||||
|
||||
|
||||
Reference in new issue
Block a user