SPIGOT-2398: Armor stands still need to be treated special for gravity
This commit is contained in:
parent
ac58f3840e
commit
7964365c84
@ -149,6 +149,13 @@ public class CraftArmorStand extends CraftLivingEntity implements ArmorStand {
|
|||||||
getHandle().setBasePlate(!basePlate);
|
getHandle().setBasePlate(!basePlate);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void setGravity(boolean gravity) {
|
||||||
|
super.setGravity(gravity);
|
||||||
|
// Armor stands are special
|
||||||
|
getHandle().noclip = !gravity;
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean isVisible() {
|
public boolean isVisible() {
|
||||||
return !getHandle().isInvisible();
|
return !getHandle().isInvisible();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user