Fixed Plain Satchel not looting noted items

This commit is contained in:
randy 2025-08-16 20:06:07 -06:00
parent 06055c0ff8
commit cd8cce30a0

View file

@ -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))) {