Fix tool forge voiding items bug/desync (#244)

Co-authored-by: Martin Robertz <[email protected]>
Co-authored-by: Nikolay S. <[email protected]>
This commit is contained in:
authored and GitHub committed 2026-02-03 20:24:18 -06:00
1 parent a59ee11285
commit 1755470299
1 file changed
+9
@@ -198,4 +198,13 @@ public class ToolStationContainer extends ActiveContainer {
return failedToMerge;
}
@Override
public ItemStack slotClick(int slotId, int clickedButton, int mode, EntityPlayer player) {
ItemStack output = super.slotClick(slotId, clickedButton, mode, player);
if (slotId > 0) {
this.logic.buildTool(this.logic.toolName);
}
return output;
}
}