Vswe / Production

12 stars 11 forks source link

Shift clicking crafting overflow protection #4

Open Vswe opened 10 years ago

Vswe commented 10 years ago

If you are going to craft 4 planks, for instance, and shift clicks to get them out but can only fit 2 in your inventory, you'll only receive 2. In the vanilla Crafting table you won't be able to shift click to get the planks out if you can't fit all 4.

I know exactly why it only gives you 2 planks. However, I have no clue how the vanilla crafting table handles it, according to the code it should work like my crafting in this aspect, but it doesn't. It's black magic!