Skip to content
This repository has been archived by the owner on Dec 14, 2024. It is now read-only.

Commit

Permalink
chores: remove useless import
Browse files Browse the repository at this point in the history
  • Loading branch information
smartcmd committed Oct 16, 2024
1 parent 3209eb0 commit a22c8fa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,9 @@ public AllayPlayerPingProvider(Server server) {
@Override
public Map<String, Integer> poll() {
Map<String, Integer> result = new HashMap<>();
for (var player : this.server.getOnlinePlayers().values())
for (var player : this.server.getOnlinePlayers().values()) {
result.put(player.getCommandSenderName(), player.getPing());
}
return result;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@

import java.util.Collection;
import java.util.HashMap;
import java.util.List;
import java.util.Objects;

/**
Expand Down

0 comments on commit a22c8fa

Please sign in to comment.