[SPIGOT-1150] ArmorStand falls through world on setGravity(true) under certain circumstances Created: 27/Aug/15  Updated: 25/Jun/16  Resolved: 25/Jun/16

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

Type: Bug Priority: Minor
Reporter: Phoenix616 Assignee: Unassigned
Resolution: Done Votes: 1
Labels: Craftbukkit, bug


 Description   

If you toggle the gravity of an ArmorStand via the setGravity method it is possible for it to fall through the world under certain circumstances:

Way 1:

  1. Set the NoGravity tag of an ArmorStand via /summon or /entitydata to 1b
  2. Use a plugin to setGravity(true) on the ArmorStand
  3. Watch it float through the world into the void

Way 2:

  1. Set the NoGravity tag of an ArmorStand via setGravity(false)
  2. Leave the chunk with the ArmorStand (let it unload, if it doesn't unload it works fine)
  3. Return to the chunk and setGravity(true) on the ArmorStand
  4. Watch it float through the world into the void

Please note the previous issues which seem to be similar but occurred always (SPIGOT-508 and SPIGOT-657) and that this behavior does not appear if you only use the vanilla commands.

(Bug also happens on git-Spigot-fdc1440-53fac9f)



 Comments   
Comment by md_5 [ 25/Jun/16 ]

1.10 has official nogravity support

Comment by Sem Keijsper [ 11/Mar/16 ]

I have got this issue as well, and it's really annoying.

Generated at Sat Dec 13 20:51:12 UTC 2025 using Jira 10.3.13#10030013-sha1:56dd970ae30ebfeda3a697d25be1f6388b68a422.