Do not unequip bracelets, talismans or artifacts on class change.

This commit is contained in:
MobiusDevelopment
2021-08-21 23:54:44 +00:00
parent 1c553b962c
commit 2e3dd3d853
12 changed files with 84 additions and 0 deletions

View File

@@ -2473,6 +2473,13 @@ public abstract class Inventory extends ItemContainer
}
slot = item.getLocationSlot();
// Do not unequip bracelets, talismans or artifacts.
if ((slot >= PAPERDOLL_LBRACELET) && (slot <= PAPERDOLL_ARTIFACT21))
{
continue;
}
for (PaperdollListener listener : _paperdollListeners)
{
if (listener == null)