mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-21 04:32:26 +00:00
fix: infinite loop in Tool Forge
This commit is contained in:
1 parent
dbf67f37eb
commit
37f0c7cf29
1 file changed
-10
@@ -67,15 +67,5 @@ public class ToolForgeLogic extends ToolStationLogic implements ISidedInventory
|
||||
output = tryRenameTool(output, name);
|
||||
}
|
||||
inventory[0] = output;
|
||||
if (output != null && output.hasDisplayName()) {
|
||||
TConstruct.packetPipeline
|
||||
.sendToServer(new ToolStationPacket(xCoord, yCoord, zCoord, output.getDisplayName()));
|
||||
}
|
||||
}
|
||||
/*
|
||||
* public void buildTool (String name) { toolName = name; ItemStack tool =
|
||||
* ToolBuilder.instance.buildTool(inventory[1], inventory[2], inventory[3], inventory[4], name); if (inventory[0] ==
|
||||
* null) inventory[0] = tool; else { NBTTagCompound tags = inventory[0].getTagCompound(); if
|
||||
* (!tags.getCompoundTag("InfiTool").hasKey("Built")) { inventory[0] = tool; } } }
|
||||
*/
|
||||
}
|
||||
Reference in new issue
Block a user