[SPIGOT-508] Armor stands falling through the world Created: 01/Feb/15  Updated: 01/Feb/15  Resolved: 01/Feb/15

Status: Closed
Project: Spigot
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Minor
Reporter: St3venAU Assignee: Unassigned
Resolution: Fixed Votes: 0
Labels: None


 Description   

If you summon an armor stand with gravity turned off:

/summon ArmorStand ~ ~ ~

{NoGravity:1}

And then turn on its gravity with ArmorStand#getGravity, the armor stand does not stop falling when it hits the ground. Instead, it falls through all of the blocks in the world and into the void.

This does not happen if you spawn an armor stand with gravity on, toggle it off and back on again. It only seems to happen if the armor stand was spawned with gravity already turned off.

I am not sure if this bug is caused by cb/spigot code or vanilla code since there is no way of changing the gravity of an armor stand in vanilla after it is already spawned.



 Comments   
Comment by St3venAU [ 01/Feb/15 ]

The fix worked great! Thanks md_5.

Comment by St3venAU [ 01/Feb/15 ]

Typo: I meant to say ArmorStand#setGravity (not getGravity)

Generated at Sat Dec 13 15:24:21 UTC 2025 using Jira 10.3.13#10030013-sha1:56dd970ae30ebfeda3a697d25be1f6388b68a422.