Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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

no per-player suffix/prefix.
  • Loading branch information...
commit 35ffb91f2f8319d9d1e2e00d357db70a9d0cbea8 1 parent 992031d
@Sleaker Sleaker authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/net/milkbowl/vault/chat/plugins/Chat_GroupManager.java
View
4 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
Please sign in to comment.
Something went wrong with that request. Please try again.