mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-22 21:26:45 +01:00
*Fixed arms
This commit is contained in:
parent
956899cb67
commit
36ac4a4b94
@ -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;
|
||||||
|
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user