From 273ff7874515561b5458c7410dcd3f1ec510d303 Mon Sep 17 00:00:00 2001 From: Nick Minkler Date: Tue, 14 Aug 2012 13:22:05 -0700 Subject: [PATCH] Update src/net/milkbowl/vault/Vault.java alter load priorities on permissions so Group-based permission plugins are detected over non-group based. And legacy plugins are last-load. --- src/net/milkbowl/vault/Vault.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/net/milkbowl/vault/Vault.java b/src/net/milkbowl/vault/Vault.java index b3813cb..de43f8c 100644 --- a/src/net/milkbowl/vault/Vault.java +++ b/src/net/milkbowl/vault/Vault.java @@ -258,7 +258,7 @@ public class Vault extends JavaPlugin { hookPermission("PermissionsEx", Permission_PermissionsEx.class, ServicePriority.Highest, "ru.tehkode.permissions.bukkit.PermissionsEx"); // Try to load PermissionsBukkit - hookPermission("PermissionsBukkit", Permission_PermissionsBukkit.class, ServicePriority.Highest, "com.platymuus.bukkit.permissions.PermissionsPlugin"); + hookPermission("PermissionsBukkit", Permission_PermissionsBukkit.class, ServicePriority.Normal, "com.platymuus.bukkit.permissions.PermissionsPlugin"); // Try to load DroxPerms hookPermission("DroxPerms", Permission_DroxPerms.class, ServicePriority.High, "de.hydrox.bukkit.DroxPerms.DroxPerms"); @@ -282,7 +282,7 @@ public class Vault extends JavaPlugin { hookPermission("GroupManager", Permission_GroupManager.class, ServicePriority.High, "org.anjocaido.groupmanager.GroupManager"); // Try to load Permissions 3 (Yeti) - hookPermission("Permissions 3 (Yeti)", Permission_Permissions3.class, ServicePriority.High, "com.nijiko.permissions.ModularControl"); + hookPermission("Permissions 3 (Yeti)", Permission_Permissions3.class, ServicePriority.Normal, "com.nijiko.permissions.ModularControl"); Permission perms = new Permission_SuperPerms(this); sm.register(Permission.class, perms, this, ServicePriority.Lowest);