forked from MagicBane/Server
unecessary try removal
This commit is contained in:
@@ -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) {
|
||||||
|
|||||||
Reference in New Issue
Block a user