From eddedbee5bbce81b67eee933fb26106746138d8f Mon Sep 17 00:00:00 2001 From: FatBoy-DOTC Date: Wed, 8 Feb 2023 19:39:52 -0600 Subject: [PATCH] guard static power load --- src/engine/objects/Mob.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/engine/objects/Mob.java b/src/engine/objects/Mob.java index 37fef773..fc52504c 100644 --- a/src/engine/objects/Mob.java +++ b/src/engine/objects/Mob.java @@ -2227,7 +2227,7 @@ public class Mob extends AbstractIntelligenceAgent { //load guards powers ArrayList mobbases = DbManager.MobBaseQueries.GET_ALL_MOBBASES(); for(MobBase mb : mobbases){ - if(this.getName() == mb.getFirstName()){ + if(this.getName().contains(mb.getFirstName())){ mobPowers = DbManager.MobBaseQueries.LOAD_STATIC_POWERS(mb.getObjectUUID()); } }