Separated normal remove_head and hat keys/flags

This commit is contained in:
Ceikry
2021-03-15 17:26:39 -05:00
parent 30576b9eb4
commit 3ebd9c2614
3 changed files with 22 additions and 16 deletions
@@ -303,10 +303,13 @@ public final class Appearance {
drawClothes(7, getLegs().getLook());
}
if ((hat != null && hat.getDefinition().getConfiguration(ItemConfigParser.REMOVE_HEAD, false)) || castleWarsHood) {
flagHatClipping();
clearBodyPart(8);
} else {
drawClothes(8, getHair().getLook());
}
if((hat != null && hat.getDefinition().getConfiguration(ItemConfigParser.IS_HAT,false))){
flagHatClipping();
}
if (hands != null) {
drawItem(9, hands);
} else {