diff --git a/src/org/apollo/game/model/Gender.java b/src/org/apollo/game/model/Gender.java index e75e42bb..90a1fdd4 100644 --- a/src/org/apollo/game/model/Gender.java +++ b/src/org/apollo/game/model/Gender.java @@ -10,26 +10,12 @@ public enum Gender { /** * The male gender. */ - MALE(0), + MALE, /** * The female gender. */ - FEMALE(1); - - /** - * The numerical value used by the client. - */ - private final int value; - - /** - * Creates the gender. - * - * @param value The numerical value. - */ - private Gender(int value) { - this.value = value; - } + FEMALE; /** * Converts this gender to an integer. @@ -37,7 +23,7 @@ public enum Gender { * @return The numerical value used by the client. */ public int toInteger() { - return value; + return ordinal(); } } \ No newline at end of file