Skip to content

Commit

Permalink
Fix IEssentials#getOnlineUsers ABI breakage
Browse files Browse the repository at this point in the history
  • Loading branch information
JRoy authored and mdcfe committed Sep 9, 2020
1 parent 1671d48 commit 1382a05
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Essentials/src/com/earth2me/essentials/Essentials.java
Expand Up @@ -931,7 +931,7 @@ public Collection<Player> getOnlinePlayers() {
}

@Override
public List<User> getOnlineUsers() {
public Iterable<User> getOnlineUsers() {
List<User> onlineUsers = new ArrayList<>();
for (Player player : getOnlinePlayers()) {
onlineUsers.add(getUser(player));
Expand Down
2 changes: 1 addition & 1 deletion Essentials/src/com/earth2me/essentials/IEssentials.java
Expand Up @@ -102,7 +102,7 @@ public interface IEssentials extends Plugin {

Collection<Player> getOnlinePlayers();

Collection<User> getOnlineUsers();
Iterable<User> getOnlineUsers();

SpawnerItemProvider getSpawnerItemProvider();

Expand Down

0 comments on commit 1382a05

Please sign in to comment.