Update Permission_TotalPermissions.java

This commit is contained in:
montlikadani 2019-11-03 19:09:28 +01:00 committed by GitHub
parent 68090f2208
commit 35a1e3e5e5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -50,7 +50,7 @@ public class Permission_TotalPermissions extends Permission {
if (permPlugin.getDescription().getName().equals(name)) {
totalperms = (TotalPermissions) permPlugin;
manager = totalperms.getManager();
log.info(String.format("[%s][Permission] %s hooked.", plugin.getDescription().getName(), name));
log.info(String.format("[Permission] %s hooked.", name));
}
}
}
@ -61,7 +61,7 @@ public class Permission_TotalPermissions extends Permission {
if (event.getPlugin().getDescription().getName().equals(name)) {
totalperms = null;
manager = null;
log.info(String.format("[%s][Permission] %s un-hooked.", plugin.getDescription().getName(), name));
log.info(String.format("[Permission] %s un-hooked.", name));
}
}
}