From 36ac4a4b943c935b60b5f8020a24055d281ec701 Mon Sep 17 00:00:00 2001 From: boy0001 Date: Fri, 17 Apr 2015 16:41:41 +1000 Subject: [PATCH] *Fixed arms --- .../plot/object/entity/ArmorStandStats.java | 2 +- .../plot/object/entity/EntityWrapper.java | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/PlotSquared/src/main/java/com/intellectualcrafters/plot/object/entity/ArmorStandStats.java b/PlotSquared/src/main/java/com/intellectualcrafters/plot/object/entity/ArmorStandStats.java index 35b78e539..ad4a88b24 100644 --- a/PlotSquared/src/main/java/com/intellectualcrafters/plot/object/entity/ArmorStandStats.java +++ b/PlotSquared/src/main/java/com/intellectualcrafters/plot/object/entity/ArmorStandStats.java @@ -7,7 +7,7 @@ public class ArmorStandStats { float[] rightLeg = new float[3]; float[] leftArm = new float[3]; float[] rightArm = new float[3]; - public boolean noarms; + public boolean arms; public boolean noplate; public boolean nogravity; public boolean invisible; diff --git a/PlotSquared/src/main/java/com/intellectualcrafters/plot/object/entity/EntityWrapper.java b/PlotSquared/src/main/java/com/intellectualcrafters/plot/object/entity/EntityWrapper.java index e2711689b..de04c1ff8 100644 --- a/PlotSquared/src/main/java/com/intellectualcrafters/plot/object/entity/EntityWrapper.java +++ b/PlotSquared/src/main/java/com/intellectualcrafters/plot/object/entity/EntityWrapper.java @@ -351,8 +351,8 @@ public class EntityWrapper { this.stand.rightArm[1] = (float) rightArm.getY(); this.stand.rightArm[2] = (float) rightArm.getZ(); - if (!stand.hasArms()) { - this.stand.noarms = true; + if (stand.hasArms()) { + this.stand.arms = true; } if (!stand.hasBasePlate()) { this.stand.noplate = true; @@ -609,8 +609,8 @@ public class EntityWrapper { if (this.stand.invisible) { stand.setVisible(false); } - if (this.stand.noarms) { - stand.setArms(false); + if (this.stand.arms) { + stand.setArms(true); } if (this.stand.nogravity) { stand.setGravity(false);