mirror of
https://github.com/NoCheatPlus/NoCheatPlus.git
synced 2025-01-29 19:01:22 +01:00
Clear NCPExemptionManager in onDisable just in case.
Little significance, but could be expected to have some future purpose.
This commit is contained in:
parent
d766379afe
commit
363cda50e8
@ -364,9 +364,16 @@ public class NoCheatPlus extends JavaPlugin implements NoCheatPlusAPI {
|
||||
// World specific permissions.
|
||||
permStateReceivers.clear();
|
||||
|
||||
// More cleanup.
|
||||
// Data cleanup.
|
||||
if (verbose) LogUtil.logInfo("[NoCheatPlus] Cleanup DataManager...");
|
||||
dataMan.onDisable();
|
||||
|
||||
// Exemptions cleanup.
|
||||
NCPExemptionManager.clear();
|
||||
|
||||
// Hooks:
|
||||
// (Expect external plugins to unregister their hooks on their own.)
|
||||
// (No native hooks present, yet.)
|
||||
|
||||
// Clear command changes list (compatibility issues with NPCs, leads to recalculation of perms).
|
||||
if (changedCommands != null){
|
||||
|
Loading…
Reference in New Issue
Block a user