Minor - remove checks for no longer supported legacy Permissions

This commit is contained in:
ljacqu 2015-12-26 13:06:30 +01:00
parent 71a9f4140b
commit 37918e845c

View File

@ -250,8 +250,7 @@ public class PermissionsManager implements PermissionsService {
// Check if any known permissions system is enabling // Check if any known permissions system is enabling
if (pluginName.equals("PermissionsEx") || pluginName.equals("PermissionsBukkit") || if (pluginName.equals("PermissionsEx") || pluginName.equals("PermissionsBukkit") ||
pluginName.equals("bPermissions") || pluginName.equals("GroupManager") || pluginName.equals("bPermissions") || pluginName.equals("GroupManager") ||
pluginName.equals("zPermissions") || pluginName.equals("Vault") || pluginName.equals("zPermissions") || pluginName.equals("Vault")) {
pluginName.equals("Permissions")) {
this.log.info(pluginName + " plugin enabled, dynamically updating permissions hooks!"); this.log.info(pluginName + " plugin enabled, dynamically updating permissions hooks!");
setup(); setup();
} }
@ -270,8 +269,7 @@ public class PermissionsManager implements PermissionsService {
// Is the WorldGuard plugin disabled // Is the WorldGuard plugin disabled
if (pluginName.equals("PermissionsEx") || pluginName.equals("PermissionsBukkit") || if (pluginName.equals("PermissionsEx") || pluginName.equals("PermissionsBukkit") ||
pluginName.equals("bPermissions") || pluginName.equals("GroupManager") || pluginName.equals("bPermissions") || pluginName.equals("GroupManager") ||
pluginName.equals("zPermissions") || pluginName.equals("Vault") || pluginName.equals("zPermissions") || pluginName.equals("Vault")) {
pluginName.equals("Permissions")) {
this.log.info(pluginName + " plugin disabled, updating hooks!"); this.log.info(pluginName + " plugin disabled, updating hooks!");
setup(); setup();
} }