Cancelling block breaking causes player movement to be frozen
How to reproduce
1) Put yourself in /gamemode creative.
2) Hold a sword in your hand. (which prevents you from breaking blocks)
3) Hit a block whilst moving. When flying fast and holding down left click it's very noticeable that your movement is getting frozen.
This likely has to do with the fix for https://bugs.mojang.com/browse/MC-156013 freezing players, but when the block breaking is cancelled on the server side the client is not notified correctly.
Alternative Method:
1) Go on a server with spawn-protection enabled.
2) Break a block in the spawn protected region whilst not an operator. You shouldn't be able to break any blocks.
3) (optional) Put yourself in /gamemode creative. (makes the issue clearer)
4) Start walking whilst attempting to break blocks around you, you'll notice movement keeps getting frozen.
Environment
OS: Windows 10 1809
Java: Java 8 Update 191
Created Issue:
Cancelling block breaking causes player movement to be frozen
How to reproduce
1) Go on a server with spawn-protection enabled.
2) Break a block in the spawn protected region whilst not an operator. You shouldn't be able to break any blocks.
3) (optional) Put yourself in /gamemode creative. (makes the issue clearer)
4) Start walking whilst attempting to break blocks around you, you'll notice movement keeps getting frozen.
This likely has to do with the fix for https://bugs.mojang.com/browse/MC-156013 freezing players, but when the block breaking is cancelled on the server side the client is not notified correctly.
Environment
OS: Windows 10 1809
Java: Java 8 Update 191
How to reproduce
1) Go on a server with spawn-protection enabled.
2) Break a block in the spawn protected region whilst not an operator. You shouldn't be able to break any blocks.
3) (optional) Put yourself in /gamemode creative. (makes the issue clearer)
4) Start walking whilst attempting to break blocks around you, you'll notice movement keeps getting frozen.
This likely has to do with the fix for https://bugs.mojang.com/browse/MC-156013 freezing players, but when the block breaking is cancelled on the server side the client is not notified correctly.
UPDATE:
This bug also occurs, but is less noticeable, when breaking block with a sword in creative.
How to reproduce
1) Go on a server with spawn-protection enabled.
2) Break a block in the spawn protected region whilst not an operator. You shouldn't be able to break any blocks.
3) (optional) Put yourself in /gamemode creative. (makes the issue clearer)
4) Start walking whilst attempting to break blocks around you, you'll notice movement keeps getting frozen.
This likely has to do with the fix for https://bugs.mojang.com/browse/MC-156013 freezing players, but when the block breaking is cancelled on the server side the client is not notified correctly.
UPDATE:
Th
is bug also occurs, but is less noticeable, when breaking block with a sword in creative.How to reproduce
1) Go on a server with spawn-protection enabled.
2) Break a block in the spawn protected region whilst not an operator. You shouldn't be able to break any blocks.
3) (optional) Put yourself in /gamemode creative. (makes the issue clearer)
4) Start walking whilst attempting to break blocks around you, you'll notice movement keeps getting frozen.
This likely has to do with the fix for https://bugs.mojang.com/browse/MC-156013 freezing players, but when the block breaking is cancelled on the server side the client is not notified correctly.
UPDATE:
There is an alternate way to encounter this bug which is way more common.
1) Put yourself in /gamemode creative.
2) Hit a block whilst moving. When flying fast and holding down left click it's very noticeable that your movement is getting frozen.
How to reproduce
1)
Go on a server with spawn-protection enabled.2)
Breaka blockin the spawn protected region whilst not an operator. You shouldn't be able to break any blocks.3) (optional) Put yourself in /gamemode creative. (makes the issue clearer)
4) Start walking whilst attempting to break blocks around you, you'll notice movement keeps getting frozen.
This likely has to do with the fix for https://bugs.mojang.com/browse/MC-156013 freezing players, but when the block breaking is cancelled on the server side the client is not notified correctly.
UPDATE:
There is an alternate way to encounter this bug which is way more common.
1) Put yourself in /gamemode creative.
2)Hit a block whilst moving. When flying fast and holding down left click it's very noticeable that yourmovementis getting frozen.How to reproduce
1) Put yourself in /gamemode creative.
2) Hit a block whilst moving. When flying fast and holding down left click it's very noticeable that your movement is getting frozen.
This likely has to do with the fix for https://bugs.mojang.com/browse/MC-156013 freezing players, but when the block breaking is cancelled on the server side the client is not notified correctly.
Alternative Method:
1) Go on a server with spawn-protection enabled.
2) Break a block in the spawn protected region whilst not an operator. You shouldn't be able to break any blocks.
3) (optional) Put yourself in /gamemode creative. (makes the issue clearer)
4) Start walking whilst attempting to break blocks around you, you'll notice movement keeps getting frozen.
OS: Windows 10 1809
Java: Java 8 Update 191
OS: Windows 10 1809
Java: Java 8 Update 191
How to reproduce
1) Put yourself in /gamemode creative.
2) Hit a block whilst moving. When flying fast and holding down left click it's very noticeable that your movement is getting frozen.
This likely has to do with the fix for https://bugs.mojang.com/browse/MC-156013 freezing players, but when the block breaking is cancelled on the server side the client is not notified correctly.
Alternative Method:
1) Go on a server with spawn-protection enabled.
2) Break a block in the spawn protected region whilst not an operator. You shouldn't be able to break any blocks.
3) (optional) Put yourself in /gamemode creative. (makes the issue clearer)
4) Start walking whilst attempting to break blocks around you, you'll notice movement keeps getting frozen.
How to reproduce
1) Put yourself in /gamemode creative.
2) Hold a sword in your hand. (which prevents you from breaking blocks)3) Hit a block whilst moving. When flying fast and holding down left click it's very noticeable that your movement is getting frozen.
This likely has to do with the fix for https://bugs.mojang.com/browse/MC-156013 freezing players, but when the block breaking is cancelled on the server side the client is not notified correctly.
Alternative Method:
1) Go on a server with spawn-protection enabled.
2) Break a block in the spawn protected region whilst not an operator. You shouldn't be able to break any blocks.
3) (optional) Put yourself in /gamemode creative. (makes the issue clearer)
4) Start walking whilst attempting to break blocks around you, you'll notice movement keeps getting frozen.
duplicates
Still a problem in 1.15-pre1.