-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Labels
Non-vanilla behaviorBehavior that DeathSpectating changes/has no replacement for. Feel free to PR a fix!Behavior that DeathSpectating changes/has no replacement for. Feel free to PR a fix!
Description
Recommendation
None at the moment - or use a plugin that handles bed respawning (e.g. Multiverse)
Calling Player#getBedSpawnLocation will return null if the player has either never slept in a bed, or their home bed is missing/obstructed. Since I can't determine if a player set their bed beforehand (other than monitoring and storing whether a player set their bed either via PlayerBedEnter event and/or periodically checking Player#getBedSpawnLocation since plugins can also set a bedSpawnLocation), I can't determine when I should print this message or not.
If you'd like to implement the aforementioned solution, that'd probably be best as an addon, as that requires data storage.
Metadata
Metadata
Assignees
Labels
Non-vanilla behaviorBehavior that DeathSpectating changes/has no replacement for. Feel free to PR a fix!Behavior that DeathSpectating changes/has no replacement for. Feel free to PR a fix!