From 35ffb91f2f8319d9d1e2e00d357db70a9d0cbea8 Mon Sep 17 00:00:00 2001 From: Sleaker Date: Tue, 7 Feb 2012 12:25:43 -0800 Subject: [PATCH] use per-player prefix for getPrefix on player objects even though GM has no per-player suffix/prefix. --- src/net/milkbowl/vault/chat/plugins/Chat_GroupManager.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/net/milkbowl/vault/chat/plugins/Chat_GroupManager.java b/src/net/milkbowl/vault/chat/plugins/Chat_GroupManager.java index 82792f8..ec2d05b 100644 --- a/src/net/milkbowl/vault/chat/plugins/Chat_GroupManager.java +++ b/src/net/milkbowl/vault/chat/plugins/Chat_GroupManager.java @@ -171,12 +171,12 @@ public class Chat_GroupManager extends Chat { } @Override public String getPlayerPrefix(String world, String playerName) { - return perms.getGroupPrefix(getPrimaryGroup(world, playerName)); + return getPlayerInfoString(world, playerName, "prefix", ""); } @Override public String getPlayerSuffix(String world, String playerName) { - return perms.getGroupSuffix(getPrimaryGroup(world, playerName)); + return getPlayerInfoString(world, playerName, "suffix", ""); } @Override