Bugfix: effects without associated powers on login.

This commit is contained in:
2023-02-10 08:49:24 -05:00
parent 77b3213e79
commit 6c138a1515
+1 -1
View File
@@ -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;