refactor: use database to handle getPlayerIP when possible & some misc refactor with findalts
This commit is contained in:
@@ -106,7 +106,7 @@ public class PlayersDatabasePlugin extends PlayersPlugin.Listener {
|
||||
|
||||
insertPlayerStatement.executeUpdate();
|
||||
|
||||
final CompletableFuture<String> future = bot.players.getPlayerIP(target);
|
||||
final CompletableFuture<String> future = bot.players.getPlayerIP(target, true);
|
||||
|
||||
if (future == null) return;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user