Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Spawn player does not receive the effects update the regain their movement speed #10907

Closed
ranminecraft opened this issue Jun 18, 2024 · 5 comments · Fixed by #11024
Closed
Labels
status: accepted Disputed bug is accepted as valid or Feature accepted as desired to be added. type: bug Something doesn't work as it was intended to. version: 1.21 Game version 1.21

Comments

@ranminecraft
Copy link

ranminecraft commented Jun 18, 2024

Expected behavior

respawn player should not have any potion effects

Observed/Actual behavior

spawn player does not receive the potion effects update the regain their movement speed
and drinking milk doesn't remove slow effects from the player.

Steps/models to reproduce

player.addPotionEffect(new PotionEffect(PotionEffectType.SLOWNESS, 80, 5, true));
then /kill player

Plugin and Datapack List

testplugin

Paper version

Paper-1.21-4

Other

Minecraft.1.21.-.Multiplayer.3rd-party.Server.2024-06-19.01-49-06.1.00_00_00-00_00_37.mp4
@ranminecraft ranminecraft added status: needs triage type: bug Something doesn't work as it was intended to. labels Jun 18, 2024
@lynxplay lynxplay added status: accepted Disputed bug is accepted as valid or Feature accepted as desired to be added. and removed status: needs triage labels Jun 18, 2024
@lynxplay
Copy link
Contributor

Replicable as in "when dying, the player does not receive the attribtue update the regain their movement speed

@ranminecraft ranminecraft changed the title Player respawn with infinite slowness potion effect Player does not receive the attribtue update the regain their movement speed Jun 18, 2024
@ranminecraft ranminecraft changed the title Player does not receive the attribtue update the regain their movement speed Spawn player does not receive the effects update the regain their movement speed Jun 18, 2024
@emilyy-dev emilyy-dev added the version: 1.21 Game version 1.21 label Jun 18, 2024
@Budderman18
Copy link

this seems to effect other potion effects too, dying with strength makes it so you cant attack anything without at least a stone sword

@Malfrador
Copy link
Member

Malfrador commented Jun 29, 2024

Until this is fixed either by Paper or upstream, I have made a simple plugin to work around the issue.

@Doc94
Copy link
Sponsor Contributor

Doc94 commented Jun 30, 2024

Well this not happen in upstream for what i check.
In upstream this seems to fix the issue https://hub.spigotmc.org/stash/projects/SPIGOT/repos/craftbukkit/commits/cdd05bc7faac70a5341ce9cd6524ac2ed0a80651#nms-patches%2Fnet%2Fminecraft%2Fworld%2Fentity%2FEntityLiving.patch but just for future effects if you still has a effect use this and die the effect its not removed unless you give the same effect again.

@electronicboy
Copy link
Member

Yes, we're pending an upstream merge

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: accepted Disputed bug is accepted as valid or Feature accepted as desired to be added. type: bug Something doesn't work as it was intended to. version: 1.21 Game version 1.21
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

7 participants