mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2025-01-05 23:08:23 +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
|
@Override
|
||||||
public List<User> getOnlineUsers() {
|
public Iterable<User> getOnlineUsers() {
|
||||||
List<User> onlineUsers = new ArrayList<>();
|
List<User> onlineUsers = new ArrayList<>();
|
||||||
for (Player player : getOnlinePlayers()) {
|
for (Player player : getOnlinePlayers()) {
|
||||||
onlineUsers.add(getUser(player));
|
onlineUsers.add(getUser(player));
|
||||||
|
|
|
@ -102,7 +102,7 @@ public interface IEssentials extends Plugin {
|
||||||
|
|
||||||
Collection<Player> getOnlinePlayers();
|
Collection<Player> getOnlinePlayers();
|
||||||
|
|
||||||
Collection<User> getOnlineUsers();
|
Iterable<User> getOnlineUsers();
|
||||||
|
|
||||||
SpawnerItemProvider getSpawnerItemProvider();
|
SpawnerItemProvider getSpawnerItemProvider();
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue