The Twilight Forest

The Twilight Forest

143M Downloads

Shift can't work probably while using uncrafting table.

AppDat opened this issue ยท 1 comments

commented

Forge version: 2501
Twilight Forest version: 3.1.149
Link to crash log: (please use a paste site, do not attach the .txt or paste the log inline)

Steps to reproduce:

  1. Crafting 64 wood planks pressing shift.

What I expected to happen: It will craft 64.

What happened instead: It only craft 4. I clicked 16 times to finish the crafting.

commented

Probably this lol

// todo 1.12 evaluate if this logic needs to be moved elsewhere (method removed in 1.12)
protected void retrySlotClick(int slotNum, int mouseButton, boolean par3, EntityPlayer par4EntityPlayer) {
// if they are taking something out of the uncrafting matrix, bump the slot number back to the assembly matrix
// otherwise we lose the stuff in the uncrafting matrix when we shift-click to take multiple things
if (this.inventorySlots.get(slotNum).inventory == this.uncraftingMatrix) {
slotNum += 9;
}
this.slotClick(slotNum, mouseButton, ClickType.QUICK_MOVE, par4EntityPlayer);
}