forked from 2009Scape/Server
Merge 2009scape updates #19
1 changed files with 1 additions and 1 deletions
|
|
@ -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]))
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue