mirror of
https://github.com/NoCheatPlus/NoCheatPlus.git
synced 2025-01-13 19:11:22 +01:00
Register all online players with the NCPExemptionManager in postEnable.
This commit is contained in:
parent
74a935ccd6
commit
e9deb059a3
@ -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).")
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user