[2.0.21] Slot request does not take already requested amount into account.
Posted: Tue Nov 26, 2024 2:43 am
What did you do?
- Place a chest.
- place 10 items in a slot.
- request x additional items into this slot.
- place a request to fill this slot to full stack
Now you have requested to have
10 + (stack_size - 10) + x = stack_size + x
items in this slot.
What did you expect to happen instead? It might be obvious to you, but do it anyway!
Usually it is forbidden to request more items into a slot than the stack size is, but this way, exactly this happens.
Does it happen always, once, or sometimes?
Always
- Place a chest.
- place 10 items in a slot.
- request x additional items into this slot.
- place a request to fill this slot to full stack
Now you have requested to have
10 + (stack_size - 10) + x = stack_size + x
items in this slot.
What did you expect to happen instead? It might be obvious to you, but do it anyway!
Usually it is forbidden to request more items into a slot than the stack size is, but this way, exactly this happens.
Does it happen always, once, or sometimes?
Always