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

This commit is contained in:
2023-04-15 20:03:17 -05:00
parent f75323e7e2
commit 98eb557c58
2 changed files with 4 additions and 3 deletions
+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 + "");