mirror of
https://github.com/AuthMe/AuthMeReloaded.git
synced 2024-11-09 12:10:56 +01:00
Properly unhook the current system when unhook() is called
This commit is contained in:
parent
e99d9414b8
commit
fdb9227ec1
@ -198,6 +198,7 @@ public class PermissionsManager {
|
|||||||
public void unhook() {
|
public void unhook() {
|
||||||
// Reset the current used permissions system
|
// Reset the current used permissions system
|
||||||
this.permsType = null;
|
this.permsType = null;
|
||||||
|
this.handler = null;
|
||||||
|
|
||||||
// Print a status message to the console
|
// Print a status message to the console
|
||||||
ConsoleLogger.info("Unhooked from Permissions!");
|
ConsoleLogger.info("Unhooked from Permissions!");
|
||||||
|
Loading…
Reference in New Issue
Block a user