Merge pull request #228 from WizardJesse1/master

Ensure beards are displayed with med helms
This commit is contained in:
Major
2016-02-15 02:18:42 +00:00
2 changed files with 2 additions and 2 deletions
@@ -195,7 +195,7 @@ public final class PlayerSynchronizationMessageEncoder extends MessageEncoder<Pl
if (helm != null) {
def = EquipmentDefinition.lookup(helm.getId());
}
if (def != null && (def.isFullHat() || def.isFullMask()) || appearance.getGender() == Gender.FEMALE) {
if (def != null && (def.isFullMask()) || appearance.getGender() == Gender.FEMALE) {
playerProperties.put(DataType.BYTE, 0);
} else {
playerProperties.put(DataType.SHORT, 0x100 + style[1]);
@@ -196,7 +196,7 @@ public final class PlayerSynchronizationMessageEncoder extends MessageEncoder<Pl
if (helm != null) {
def = EquipmentDefinition.lookup(helm.getId());
}
if (def != null && (def.isFullHat() || def.isFullMask()) || appearance.getGender() == Gender.FEMALE) {
if (def != null && (def.isFullMask()) || appearance.getGender() == Gender.FEMALE) {
playerProperties.put(DataType.BYTE, 0);
} else {
playerProperties.put(DataType.SHORT, 0x100 + style[1]);