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()); } }