Skip to content

Commit

Permalink
Update ArmorStandData.java
Browse files Browse the repository at this point in the history
  • Loading branch information
Mrbysco committed Aug 4, 2024
1 parent 7dbff3d commit 55f5e7a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ public void readFromNBT(CompoundTag compound) {
this.rotation = compound.getList("Rotation", CompoundTag.TAG_FLOAT).getFloat(0);
}
if (compound.contains("Pose")) {
CompoundTag poseTag = (CompoundTag) compound.get("Pose");
CompoundTag poseTag = compound.getCompound("Pose");

String[] keys = new String[]{"Head", "Body", "LeftLeg", "RightLeg", "LeftArm", "RightArm"};
for (int i = 0; i < keys.length; i++) {
Expand Down

0 comments on commit 55f5e7a

Please sign in to comment.