From 39de8439baf953568be343293ae8c6a5451452a0 Mon Sep 17 00:00:00 2001 From: MagicBot Date: Mon, 19 Feb 2024 02:27:19 -0500 Subject: [PATCH] File reformat --- src/engine/Enum.java | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) 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); } }