Permalink
Browse files

use per-player prefix for getPrefix on player objects even though GM has

no per-player suffix/prefix.
  • Loading branch information...
1 parent 992031d commit 35ffb91f2f8319d9d1e2e00d357db70a9d0cbea8 @Sleaker Sleaker committed Feb 7, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/net/milkbowl/vault/chat/plugins/Chat_GroupManager.java
@@ -171,12 +171,12 @@ public void setGroupInfoString(String world, String groupName, String node, Stri
}
@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

0 comments on commit 35ffb91

Please sign in to comment.