Update ItemsKeptOnDeathPlugin.java
This commit is contained in:
@@ -354,7 +354,7 @@ public class ItemsKeptOnDeathPlugin extends Plugin
|
||||
// 4) In deep level wilderness: (>=21) only `LockedItem`s are kept
|
||||
if (!Pets.isPet(id)
|
||||
&& !LostIfNotProtected.isLostIfNotProtected(id)
|
||||
&& !isTradeable(itemManager.getItemComposition(id))
|
||||
&& !isTradeable(itemManager.getItemDefinition(id))
|
||||
&& (wildyLevel <= 0
|
||||
|| LockedItem.getBaseIdFromLockedId(id) != null
|
||||
|| (wildyLevel <= DEEP_WILDY && ItemReclaimCost.of(id) != null))
|
||||
@@ -794,4 +794,4 @@ public class ItemsKeptOnDeathPlugin extends Plugin
|
||||
|
||||
return itemWidget;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user