From d5edadd793d55cdb9ba26d410c9e3a332cd49f25 Mon Sep 17 00:00:00 2001 From: Jonathan Date: Wed, 1 Feb 2017 14:24:54 +0100 Subject: [PATCH] Make name/prefix/suffix empty by default --- .../sponge/modules/tablist/runnables/NamesHandler.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/java/bammerbom/ultimatecore/sponge/modules/tablist/runnables/NamesHandler.java b/src/main/java/bammerbom/ultimatecore/sponge/modules/tablist/runnables/NamesHandler.java index f1284cd5..5b9e67ae 100644 --- a/src/main/java/bammerbom/ultimatecore/sponge/modules/tablist/runnables/NamesHandler.java +++ b/src/main/java/bammerbom/ultimatecore/sponge/modules/tablist/runnables/NamesHandler.java @@ -160,9 +160,9 @@ private Tuples.Tri 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