diff --git a/src/engine/Enum.java b/src/engine/Enum.java index f67df8aa..fc271df5 100644 --- a/src/engine/Enum.java +++ b/src/engine/Enum.java @@ -156,12 +156,11 @@ public class Enum { @SuppressWarnings("unchecked") private static final HashMap _raceTypeByID = new HashMap<>(); - - int runeID; private final MonsterType monsterType; private final CharacterSex characterSex; private final RunSpeed runSpeed; private final float scaleHeight; + int runeID; RaceType(int runeID, MonsterType aggroType, RunSpeed runspeed, CharacterSex characterSex, float scaleHeight) { this.runeID = runeID; @@ -615,8 +614,7 @@ public class Enum { BEDROLL(26), FARMABLE(27), WATERBUCKET(30), - GIFT(31), - ; + GIFT(31); private final static HashMap _typeLookup = new HashMap<>(); private final int _value; @@ -1456,9 +1454,9 @@ public class Enum { Necromancy((1L << 62), -556571154, 10), SunDancing((1L << 63), 22329752, 20); + private final int reqLvl; private long flag; private int token; - private final int reqLvl; CharacterSkills(long flag, int token, int reqLvl) { this.flag = flag; @@ -2793,7 +2791,7 @@ public class Enum { return leadershipTypes[i]; } - public boolean canJoin(AbstractCharacter character){ + public boolean canJoin(AbstractCharacter character) { return this.requiredRaces.contains(character.absRace) && this.requiredClasses.contains(character.absPromotionClass) && this.sexRequired.contains(character.absGender); } }