Properly unhook the current system when unhook() is called

This commit is contained in:
EbonJaguar 2016-06-01 14:09:30 -04:00
parent e99d9414b8
commit fdb9227ec1

View File

@ -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!");