*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[] leftArm = new float[3];
float[] rightArm = new float[3];
public boolean noarms;
public boolean arms;
public boolean noplate;
public boolean nogravity;
public boolean invisible;

View File

@ -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);