Desync when trying to use a bucket in spawn protection
When trying to empty a bucket in spawn protection, client-side the action succeeds, but it fails server-side. However that is not communicated to the client, causing a desync.
To reproduce
Emptying
- Start a server
- Join the server
- Op any player other than you (from the console) to activate spawn protection
- Give yourself any bucket (water, lava, powder snow, fish, axolotl)
- Try to empty the bucket
→
Nothing happens but the bucket gets emptied - Click on the bucket in your inventory
→
The bucket is full again
Picking up
- Start a server
- Join the server
- Op any player other than you (from the console) to activate spawn protection
- Give yourself an empty bucket
- Try to pick up water or lava
→
The block is removed and the bucket gets filled
→
The removed block does not update (similar to MC-12363) - Click on the bucket in your inventory
→
The bucket is empty again
2021-01-02, 04:46 PM
2024-12-09, 01:09 PM
7
7
-