[Bug]: `spawnRadius` isn't accounted for when a player is spawned.
Lildirt opened this issue ยท 1 comments
/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
- Set the
spawnRadius
gamerule for a world. - Die in the world or otherwise trigger a respawn to happen.
- 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.