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

[Bug]: spawnRadius isn't accounted for when a player is spawned. #2821

Open
2 tasks done
Lildirt opened this issue Jan 25, 2023 · 0 comments
Open
2 tasks done

[Bug]: spawnRadius isn't accounted for when a player is spawned. #2821

Lildirt opened this issue Jan 25, 2023 · 0 comments
Labels
Bug: Confirmed Issue/problem with the software.

Comments

@Lildirt
Copy link

Lildirt commented Jan 25, 2023

/mv version -p output

n/a

Server logs

n/a

Server Version

n/a

Bug Description

The PlayerRespawnEvent handler (here) doesn't account for the spawnRadius gamerule.

In all cases, Multiverse overrides the spawn behaviour and asserts the event result itself. However, this event handler is ~11 years old (as of writing) and definitely hasn't been updated.

It's unlikely that we'll be able to get Vanilla spawn behaviour since we do other manipulation with respawning, so I'm guessing we'll want to create our own handling for spawnRadius.

Twitz#6905 reported this on Discord, so there's not much information here, but the handler certainly wasn't developed with this gamerule in mind and it appears to be affecting some users.

OP: https://discord.com/channels/325459248047980545/325494796221415424/1067887635156193453

Other relevant inquiries on this (there's more, but this is for 2022):
https://discord.com/channels/325459248047980545/325494796221415424/1051691760209907784
https://discord.com/channels/325459248047980545/325494796221415424/952681488095268895
https://discord.com/channels/325459248047980545/325494796221415424/934825343552983160

Steps to reproduce

  1. Set the spawnRadius gamerule for a world.
  2. Die in the world or otherwise trigger a respawn to happen.
  3. Watch as you spawn in the absolute location set via /mvsetspawn and not randomly around that point.

Agreements

  • I have searched for and ensured there isn't already an open or resolved issue(s) regarding this.
  • I was able to reproduce my issue on a freshly setup and up-to-date server with the latest version of Multiverse plugins with no other plugins and with no kinds of other server or client mods.
@Lildirt Lildirt added the Bug: Unconfirmed Unsure if the issue/bug is valid. label Jan 25, 2023
@zax71 zax71 added Bug: Confirmed Issue/problem with the software. and removed Bug: Unconfirmed Unsure if the issue/bug is valid. labels Jan 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug: Confirmed Issue/problem with the software.
Projects
None yet
Development

No branches or pull requests

2 participants