added none to behaviour type for mobs and defuated RS constructor for mobs
This commit is contained in:
1 parent
f75323e7e2
commit
98eb557c58
2 files changed
+4
-3
No files matched your search
@@ -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 + "");
|
||||
|
||||
Reference in new issue
Block a user