-
New Feature
-
Resolution: Fixed
-
Minor
-
None
-
None
-
None
-
git-Spigot-8faa8b4-3d61a85 (MC: 1.15.2)
-
Yes
Now that the vanilla respawn point mechanic somewhat changed, the API is outdated regarding it. BedEnterEvent should have similar functionality to BedLeaveEvent:
setSpawnLocation(boolean setBedSpawn)
shouldSetSpawnLocation()
The only way to combat this forced respawn point is to save the previous respawn location and apply it to the player after the event, which is not ideal since player.getBedSpawnLocation() only allows us to access the actual respawn point and not the bed itself - hence removing the tie to his bed. The "Respawn Point Set"-message is currently forced no matter what.