Browse Source

Bugfix: effects without associated powers on login.

master
MagicBot 2 years ago
parent
commit
6c138a1515
  1. 2
      src/engine/objects/PlayerCharacter.java

2
src/engine/objects/PlayerCharacter.java

@ -2213,7 +2213,7 @@ public void dismissNecroPets() { @@ -2213,7 +2213,7 @@ public void dismissNecroPets() {
for (Effect eff : playerCharacter.getEffects().values()) {
if (eff.getPower() == null && otherPlayer)
continue;
if (eff.getPower().token == 429506619) // Oblivion's Caress
if (eff.getPower() != null && eff.getPower().token == 429506619) // Oblivion's Caress
continue;
if ( !eff.serializeForLoad(writer))
continue;

Loading…
Cancel
Save