Skip to content

Commit

Permalink
Make name/prefix/suffix empty by default
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonathan committed Feb 1, 2017
1 parent b6099a9 commit d5edadd
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -160,9 +160,9 @@ private Tuples.Tri<Text, Text, Text> getDetails(Player p) {
String group = TablistPermissions.UC_TABLIST_GROUP.getFor(p);
if (group != null && !node.getNode("names", "groups", group).isVirtual()) {
CommentedConfigurationNode subnode = node.getNode("names", "groups", group);
name = Messages.toText(subnode.getNode("format").getString());
prefix = Messages.toText(subnode.getNode("prefix").getString());
suffix = Messages.toText(subnode.getNode("suffix").getString());
name = Messages.toText(subnode.getNode("format").getString(""));
prefix = Messages.toText(subnode.getNode("prefix").getString(""));
suffix = Messages.toText(subnode.getNode("suffix").getString(""));
}

//Afk suffix
Expand Down

0 comments on commit d5edadd

Please sign in to comment.