Fixed edge case bug causing sacks to disappear

This commit is contained in:
GregF
2026-03-30 07:12:39 +00:00
committed by Ryan
parent a7b29d7615
commit 9e690c1877
@@ -61,7 +61,7 @@ class SackBasketOptionHandler : OptionHandler() {
appropriateProduce.amount = (max - specific)
}
if(player.inventory.remove(item) && player.inventory.remove(appropriateProduce))
if(player.inventory.remove(appropriateProduce) && player.inventory.remove(item))
player.inventory.add(Item(container.containers[specific + appropriateProduce.amount]))
}