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

no per-player suffix/prefix.
This commit is contained in:
Sleaker 2012-02-07 12:25:43 -08:00
parent 992031dd2b
commit 35ffb91f2f

View File

@ -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