[the] bed[s] [location[s]] of %offlineplayers% #4659
Labels
completed
The issue has been fully resolved and the change will be in the next Skript update.
enhancement
Feature request, an issue about something that could be improved, or a PR improving something.
priority: lowest
"Nice to have" updates that are not required (tiny low impact bug fixes or QoL enhancements).
Suggestion
The method currently used to find the bed is Player.getBedSpawnLocation()
This does not allow you to find the beds of players who are not currently online.
Bukkit has a method OfflinePlayer.getBedSpawnLocation()
This method can replace the current one and it will work for both online and offline players.
Why?
I ran into a problem when I wanted to find out all the players who own a certain bed. And I found that I can't do that with %offlineplayers%'[s] bed[s] [location[s]]. This expression only works with online players.
Other
In my opinion, this change cannot affect already existing scripts.
Agreement
The text was updated successfully, but these errors were encountered: