Register all online players with the NCPExemptionManager in postEnable.

This commit is contained in:
asofold 2013-02-27 18:22:33 +01:00
parent 74a935ccd6
commit e9deb059a3

View File

@ -754,6 +754,7 @@ public class NoCheatPlus extends JavaPlugin implements NoCheatPlusAPI {
private void postEnable(final Player[] onlinePlayers){
for (final Player player : onlinePlayers){
updatePermStateReceivers(player);
NCPExemptionManager.registerPlayer(player);
}
// TODO: if (online.lenght > 0) LogUtils.logInfo("[NCP] Updated " + online.length + "players (post-enable).")
}