mirror of
https://github.com/2006-Scape/apollo.git
synced 2026-07-03 00:38:21 +00:00
Merge pull request #228 from WizardJesse1/master
Ensure beards are displayed with med helms
This commit is contained in:
@@ -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]);
|
||||
|
||||
Reference in New Issue
Block a user