mirror of
https://github.com/AuthMe/AuthMeReloaded.git
synced 2024-11-28 05:05:14 +01:00
Minor - remove checks for no longer supported legacy Permissions
This commit is contained in:
parent
71a9f4140b
commit
37918e845c
@ -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();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user