mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-19 11:59:14 +00:00
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:
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;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user