mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2025-01-03 22:08:28 +00:00
Fix IEssentials#getOnlineUsers ABI breakage
This commit is contained in:
parent
1671d4839c
commit
1382a05dc8
2 changed files with 2 additions and 2 deletions
|
@ -931,7 +931,7 @@ public class Essentials extends JavaPlugin implements net.ess3.api.IEssentials {
|
|||
}
|
||||
|
||||
@Override
|
||||
public List<User> getOnlineUsers() {
|
||||
public Iterable<User> getOnlineUsers() {
|
||||
List<User> onlineUsers = new ArrayList<>();
|
||||
for (Player player : getOnlinePlayers()) {
|
||||
onlineUsers.add(getUser(player));
|
||||
|
|
|
@ -102,7 +102,7 @@ public interface IEssentials extends Plugin {
|
|||
|
||||
Collection<Player> getOnlinePlayers();
|
||||
|
||||
Collection<User> getOnlineUsers();
|
||||
Iterable<User> getOnlineUsers();
|
||||
|
||||
SpawnerItemProvider getSpawnerItemProvider();
|
||||
|
||||
|
|
Loading…
Reference in a new issue