Browse Source

baked in stats null check

lakebane-strongholds
FatBoy-DOTC 4 months ago
parent
commit
dbab4c1212
  1. 4
      src/engine/objects/Item.java

4
src/engine/objects/Item.java

@ -1249,7 +1249,9 @@ public class Item extends AbstractWorldObject { @@ -1249,7 +1249,9 @@ public class Item extends AbstractWorldObject {
continue;
}
AbstractPowerAction apa = PowersManager.getPowerActionByIDString(effect.getIDString());
apa.applyBakedInStatsForItem(this, this.getItemBase().getBakedInStats().get(token));
if(apa != null)
apa.applyBakedInStatsForItem(this, this.getItemBase().getBakedInStats().get(token));
}
}

Loading…
Cancel
Save