Archiviert
13
0

SPIGOT-2398: Armor stands still need to be treated special for gravity

Dieser Commit ist enthalten in:
md_5 2016-06-12 16:32:51 +10:00
Ursprung ac58f3840e
Commit 7964365c84

Datei anzeigen

@ -149,6 +149,13 @@ public class CraftArmorStand extends CraftLivingEntity implements ArmorStand {
getHandle().setBasePlate(!basePlate);
}
@Override
public void setGravity(boolean gravity) {
super.setGravity(gravity);
// Armor stands are special
getHandle().noclip = !gravity;
}
@Override
public boolean isVisible() {
return !getHandle().isInvisible();