added none to behaviour type for mobs and defuated RS constructor for mobs

This commit is contained in:
FatBoy committed 2023-04-15 20:03:17 -05:00
1 parent f75323e7e2
commit 98eb557c58
2 files changed
+4 -3

No files matched your search

+1 -1
View File
@@ -296,7 +296,7 @@ public class Mob extends AbstractIntelligenceAgent {
if(rs.getString("fsm").length() > 1) {
this.BehaviourType = MobileFSM.MobBehaviourType.valueOf(rs.getString("fsm"));
} else{
this.BehaviourType = MobileFSM.MobBehaviourType.Simple;
this.BehaviourType = MobileFSM.MobBehaviourType.None;
}
} catch (Exception e) {
Logger.error(currentID + "");