Allowed for NBTData of hiding body parts

This commit is contained in:
KAMKEEL committed 2021-06-13 20:17:12 -04:00
1 parent c05c4fdb0d
commit 7e7aaa805b
1 file changed
+10 -2
+10 -2
View File
@@ -55,10 +55,14 @@ public class ModelDataShared{
compound.setByte("Headwear", headwear);
compound.setByte("Bodywear", bodywear);
compound.setByte("Armwear", armwear);
compound.setByte("Legwear", legwear);
compound.setByte("hideHead", hideHead);
compound.setByte("hideBody", hideBody);
compound.setByte("hideArms", hideArms);
compound.setByte("hideLegs", hideLegs);
compound.setByte("Breasts", breasts);
compound.setTag("ExtraData", extra);
@@ -85,10 +89,14 @@ public class ModelDataShared{
headwear = compound.getByte("Headwear");
bodywear = compound.getByte("Bodywear");
armwear = compound.getByte("Armwear");
legwear = compound.getByte("Legwear");
hideHead = compound.getByte("hideHead");
hideBody = compound.getByte("hideBody");
hideArms = compound.getByte("hideArms");
hideLegs = compound.getByte("hideLegs");
breasts = compound.getByte("Breasts");
extra = compound.getCompoundTag("ExtraData");