mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-19 11:59:14 +00:00
Fix part builder exploit #939
This commit is contained in:
1 parent
ae62aca8bf
commit
3f536410d8
1 file changed
+5
@@ -49,6 +49,11 @@ public class PartBuilderLogic extends InventoryLogic implements ISidedInventory
|
||||
return new PartCrafterContainer(inventoryplayer, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean canDropInventorySlot(int slot) {
|
||||
return slot <= 3 ; // 0-3 = only drop input slots
|
||||
}
|
||||
|
||||
//Called when emptying a slot, not when another item is placed in it
|
||||
@Override
|
||||
public ItemStack decrStackSize (int slotID, int quantity)
|
||||
|
||||
Reference in new issue
Block a user