generic resists added for mobs to stop crashing AI

This commit is contained in:
2024-07-11 19:34:50 -05:00
parent 335850f7ff
commit 9e3c13dea3
+2
View File
@@ -1493,6 +1493,8 @@ public class Mob extends AbstractIntelligenceAgent {
}
if(this.StrongholdCommander || this.StrongholdGuardian || this.StrongholdEpic){
this.setResists(new Resists("Elite"));
}else{
this.setResists(new Resists("Generic"));
}
this.resists.calculateResists(this, false);
}