baked in stats null check

This commit is contained in:
2024-09-01 09:51:03 -05:00
parent d186a96796
commit dbab4c1212
+3 -1
View File
@@ -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));
}
}