Fixed beards for helmets.

This commit is contained in:
Jesse Woolsey
2016-02-14 20:59:22 -05:00
parent 420fe587da
commit 08d797d907
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]);