diff --git a/src/net/milkbowl/vault/chat/plugins/Chat_Permissions3.java b/src/net/milkbowl/vault/chat/plugins/Chat_Permissions3.java index b143560..a3f6bd1 100644 --- a/src/net/milkbowl/vault/chat/plugins/Chat_Permissions3.java +++ b/src/net/milkbowl/vault/chat/plugins/Chat_Permissions3.java @@ -220,7 +220,7 @@ public class Chat_Permissions3 extends Chat { @Override public String getGroupPrefix(String world, String group) { - return this.getGroupPrefix(world, group); + return this.perms.getGroupPrefix(world, group); } @Override @@ -230,7 +230,7 @@ public class Chat_Permissions3 extends Chat { @Override public String getGroupSuffix(String world, String group) { - return this.getGroupSuffix(world, group); + return this.perms.getGroupSuffix(world, group); } @Override diff --git a/src/net/milkbowl/vault/permission/plugins/Permission_PermissionsBukkit.java b/src/net/milkbowl/vault/permission/plugins/Permission_PermissionsBukkit.java index bb8acec..2bfbc39 100644 --- a/src/net/milkbowl/vault/permission/plugins/Permission_PermissionsBukkit.java +++ b/src/net/milkbowl/vault/permission/plugins/Permission_PermissionsBukkit.java @@ -45,7 +45,7 @@ public class Permission_PermissionsBukkit extends Permission { if (perms == null) { Plugin perms = plugin.getServer().getPluginManager().getPlugin("PermissionsBukkit"); if (perms != null) { - perms = (PermissionsPlugin) perms; + this.perms = (PermissionsPlugin) perms; log.info(String.format("[%s][Permission] %s hooked.", plugin.getDescription().getName(), name)); } } diff --git a/src/net/milkbowl/vault/permission/plugins/Permission_SimplyPerms.java b/src/net/milkbowl/vault/permission/plugins/Permission_SimplyPerms.java index a3b5614..6464583 100644 --- a/src/net/milkbowl/vault/permission/plugins/Permission_SimplyPerms.java +++ b/src/net/milkbowl/vault/permission/plugins/Permission_SimplyPerms.java @@ -148,8 +148,8 @@ public class Permission_SimplyPerms extends Permission{ public boolean groupRemove(String world, String group, String permission) { permission = permission.toLowerCase(); if (world != null) { - this.perms.removeGroupPermission(group, world, permission); permission = world + ":" + permission; + this.perms.removeGroupPermission(group, world, permission); } else { this.perms.removeGroupPermission(group, permission); }