*Fixed arms

This commit is contained in:
boy0001 2015-04-17 16:41:41 +10:00
parent 956899cb67
commit 36ac4a4b94
2 changed files with 5 additions and 5 deletions

View File

@ -7,7 +7,7 @@ public class ArmorStandStats {
float[] rightLeg = new float[3]; float[] rightLeg = new float[3];
float[] leftArm = new float[3]; float[] leftArm = new float[3];
float[] rightArm = new float[3]; float[] rightArm = new float[3];
public boolean noarms; public boolean arms;
public boolean noplate; public boolean noplate;
public boolean nogravity; public boolean nogravity;
public boolean invisible; public boolean invisible;

View File

@ -351,8 +351,8 @@ public class EntityWrapper {
this.stand.rightArm[1] = (float) rightArm.getY(); this.stand.rightArm[1] = (float) rightArm.getY();
this.stand.rightArm[2] = (float) rightArm.getZ(); this.stand.rightArm[2] = (float) rightArm.getZ();
if (!stand.hasArms()) { if (stand.hasArms()) {
this.stand.noarms = true; this.stand.arms = true;
} }
if (!stand.hasBasePlate()) { if (!stand.hasBasePlate()) {
this.stand.noplate = true; this.stand.noplate = true;
@ -609,8 +609,8 @@ public class EntityWrapper {
if (this.stand.invisible) { if (this.stand.invisible) {
stand.setVisible(false); stand.setVisible(false);
} }
if (this.stand.noarms) { if (this.stand.arms) {
stand.setArms(false); stand.setArms(true);
} }
if (this.stand.nogravity) { if (this.stand.nogravity) {
stand.setGravity(false); stand.setGravity(false);