Skript icon indicating copy to clipboard operation
Skript copied to clipboard

[the] bed[s] [location[s]] of %offlineplayers%

Open kossnikita opened this issue 2 years ago • 2 comments

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

  • [X] I have read the guidelines above and affirm I am following them with this suggestion.

kossnikita avatar Mar 11 '22 07:03 kossnikita

@kossnikita We do not close completed issues until a new release including them is out :)

AyhamAl-Ali avatar Sep 19 '22 07:09 AyhamAl-Ali

Oh, I'm sorry! It seemed to me that this was already included in the release after the merge.

kossnikita avatar Sep 19 '22 08:09 kossnikita