-
Bug
-
Resolution: Unresolved
-
None
-
24w33a, 1.21.1, 24w34a, 24w35a, 24w36a, 24w37a, 24w38a, 24w39a, 24w40a, 1.21.2 Pre-Release 1, 1.21.2 Pre-Release 2, 1.21.2 Pre-Release 3, 1.21.2 Pre-Release 4, 1.21.2 Pre-Release 5, 1.21.2 Release Candidate 1, 1.21.2 Release Candidate 2, 1.21.2, 24w44a, 1.21.3, 24w45a, 24w46a
-
None
-
Confirmed
-
Survival
-
Commands, Dedicated Server
-
Normal
-
Platform
The bug
In a dedicated server, if you set the attribute gravity to 0 or less, you can stay in the air or float upwards. However, if you change it back to the default value (0.08), you will be instantly kicked out of the game.
Steps to Reproduce
- Set up a dedicated server, using its default settings
- Make you float upwards by runningĀ
/attribute @s minecraft:gravity base set -0.01
- Wait for over 5 seconds
- Restore the default gravity by running
/attribute @s minecraft:gravity base set 0.08
Observed Results
You get instantly kicked for flying.
Expected Results
You don't get kicked.
- relates to
-
MC-268392 Setting gravity attribute to 0.0 kicks player for flying
- Resolved