forked from 2009Scape/Server
Fixed Plain Satchel not looting noted items
This commit is contained in:
parent
06055c0ff8
commit
cd8cce30a0
1 changed files with 1 additions and 1 deletions
|
|
@ -275,7 +275,7 @@ public final class NPCDropTables {
|
|||
private boolean handleSatchel(Player player, Item item) {
|
||||
for (int satchelId = 10877; satchelId <= 10882; satchelId++) {
|
||||
if (inEquipmentOrInventory(player,satchelId,1) && SnowscapeSatchelListener.Companion.isAllowed(player,satchelId,unnote(item).getId())){
|
||||
if (satchelId == 10877 && !player.plainSatchel.contains(item.getId(),1)) {
|
||||
if (satchelId == 10877 && !player.plainSatchel.contains(unnote(item).getId(),1)) {
|
||||
continue;
|
||||
}
|
||||
if (SnowscapeSatchelListener.Companion.getSatchel(player, satchelId).add(unnote(item))) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue