unecessary try removal

This commit is contained in:
2023-04-16 19:29:14 -05:00
parent 1d965c0785
commit 3c118ed88b
+1 -3
View File
@@ -298,11 +298,9 @@ public class Mob extends AbstractIntelligenceAgent {
this.equipmentSetID = this.contract.getEquipmentSet(); this.equipmentSetID = this.contract.getEquipmentSet();
this.nameOverride = rs.getString("mob_name"); this.nameOverride = rs.getString("mob_name");
try {
if (rs.getString("fsm").length() > 1) { if (rs.getString("fsm").length() > 1) {
this.BehaviourType = MobileFSM.MobBehaviourType.valueOf(rs.getString("fsm")); this.BehaviourType = MobileFSM.MobBehaviourType.valueOf(rs.getString("fsm"));
} } else {
}catch(Exception ex) {
this.BehaviourType = MobileFSM.MobBehaviourType.None; this.BehaviourType = MobileFSM.MobBehaviourType.None;
} }
} catch (Exception e) { } catch (Exception e) {