forked from 2009Scape/Server
Fixed an issue in replaceSlot logic causing visual bugs with pizza
This commit is contained in:
parent
fa45bcfe70
commit
544487218a
1 changed files with 1 additions and 1 deletions
|
|
@ -337,7 +337,7 @@ fun replaceSlot(player: Player, slot: Int, item: Item, currentItem: Item? = null
|
|||
Container.BANK -> player.bank
|
||||
}
|
||||
|
||||
if (item.id == -1 || item.amount <= 0) {
|
||||
if (item.id == 65535 || item.amount <= 0) {
|
||||
return cont.replace(null, slot)
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue