Moved VeryGames IP check into AsyncJoin process.

- Updated VeryGames IP check method.
- Remove player's IP from realIp map on quit.
This commit is contained in:
DNx5
2016-01-03 09:00:25 +07:00
parent 4ea6cc9d69
commit 052e414ff3
3 changed files with 67 additions and 77 deletions
@@ -93,6 +93,7 @@ public class AsynchronousQuit {
database.setUnlogged(name);
}
plugin.realIp.remove(name);
Bukkit.getScheduler().scheduleSyncDelayedTask(plugin, new ProcessSyncronousPlayerQuit(plugin, player, isOp, needToChange));
}
}