[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.

Generated at Tue Apr 22 07:03:30 UTC 2025 using Jira 10.3.5#10030005-sha1:190c783f2bd6c69cd5accdb70f97e48812a78d14.