[SPIGOT-7777] Speed attribute stays after death Created: 18/Jun/24 Updated: 25/Dec/24 Resolved: 18/Jun/24 |
|
Status: | Resolved |
Project: | Spigot |
Component/s: | None |
Affects Version/s: | None |
Fix Version/s: | None |
Type: | Bug | Priority: | Minor |
Reporter: | Marcel | Assignee: | Unassigned |
Resolution: | Fixed | Votes: | 0 |
Labels: | None | ||
Environment: |
Latest build with 0 plugins active |
Version: | 4223-Spigot-146439e-d01c70e (MC: 1.21) |
Guidelines Read: | Yes |
Description |
Give yourself speed (using e.g. /effect give @p minecraft:speed infinite 100) and then die (using /kill @p). While the potion effect disappears, the amplified movement speed stays. Wasn't able to replicate it on a survival world |
Comments |
Comment by Jake Potrebic [ 18/Jun/24 ] |
This is yet another side effect of trying to maintain the super old behavior of not recreating the ServerPlayer instance on player's respawn. The correct fix would be to remove those changes to match what vanilla does and all issues like this would be solved into the future. |