mirror of
https://github.com/NoCheatPlus/NoCheatPlus.git
synced 2025-01-28 02: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){
|
private void postEnable(final Player[] onlinePlayers){
|
||||||
for (final Player player : onlinePlayers){
|
for (final Player player : onlinePlayers){
|
||||||
updatePermStateReceivers(player);
|
updatePermStateReceivers(player);
|
||||||
|
NCPExemptionManager.registerPlayer(player);
|
||||||
}
|
}
|
||||||
// TODO: if (online.lenght > 0) LogUtils.logInfo("[NCP] Updated " + online.length + "players (post-enable).")
|
// TODO: if (online.lenght > 0) LogUtils.logInfo("[NCP] Updated " + online.length + "players (post-enable).")
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user