From 1f57042b4ef05704e2062c614353254e2db4c5ee Mon Sep 17 00:00:00 2001 From: MobiusDevelopment <8391001+MobiusDevelopment@users.noreply.github.com> Date: Sat, 24 Aug 2019 11:27:51 +0000 Subject: [PATCH] Removed unused Sex enum. --- .../actor/appearance/PlayerAppearance.java | 10 ++++---- .../l2jmobius/gameserver/model/base/Sex.java | 23 ------------------- 2 files changed, 5 insertions(+), 28 deletions(-) delete mode 100644 L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/base/Sex.java diff --git a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/actor/appearance/PlayerAppearance.java b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/actor/appearance/PlayerAppearance.java index 376f0f76ef..6d7e186ad1 100644 --- a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/actor/appearance/PlayerAppearance.java +++ b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/actor/appearance/PlayerAppearance.java @@ -28,12 +28,12 @@ public class PlayerAppearance /** The hexadecimal Color of players name (white is 0xFFFFFF) */ private int _titleColor = 0xFFFF77; - public PlayerAppearance(byte Face, byte HColor, byte HStyle, boolean Sex) + public PlayerAppearance(byte face, byte hColor, byte hStyle, boolean sex) { - _face = Face; - _hairColor = HColor; - _hairStyle = HStyle; - _sex = Sex; + _face = face; + _hairColor = hColor; + _hairStyle = hStyle; + _sex = sex; } public byte getFace() diff --git a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/base/Sex.java b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/base/Sex.java deleted file mode 100644 index 129a6fcf7a..0000000000 --- a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/base/Sex.java +++ /dev/null @@ -1,23 +0,0 @@ -/* - * This file is part of the L2J Mobius project. - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ -package org.l2jmobius.gameserver.model.base; - -public class Sex -{ - public static final int MALE = 0; - public static final int FEMALE = 1; -}