From c6878c27b94e5e3bf9fd0daf4ce6cfd62fa0d35b Mon Sep 17 00:00:00 2001 From: Luck Date: Wed, 30 Nov 2016 21:43:10 +0000 Subject: [PATCH] Fix Vault #setPrefix method --- .../java/me/lucko/luckperms/bukkit/vault/VaultChatHook.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bukkit/src/main/java/me/lucko/luckperms/bukkit/vault/VaultChatHook.java b/bukkit/src/main/java/me/lucko/luckperms/bukkit/vault/VaultChatHook.java index a7598c8e..b3220904 100644 --- a/bukkit/src/main/java/me/lucko/luckperms/bukkit/vault/VaultChatHook.java +++ b/bukkit/src/main/java/me/lucko/luckperms/bukkit/vault/VaultChatHook.java @@ -119,7 +119,7 @@ public class VaultChatHook extends Chat { perms.log("Setting " + (prefix ? "prefix" : "suffix") + " for " + holder.getObjectName() + " on world " + world + ", server " + perms.getServer()); perms.getScheduler().scheduleTask(() -> { - Node.Builder node = new NodeBuilder(prefix ? "prefix" : "suffix" + ".1000." + escapeCharacters(value)); + Node.Builder node = new NodeBuilder((prefix ? "prefix" : "suffix") + ".1000." + escapeCharacters(value)); node.setValue(true); if (!perms.getServer().equalsIgnoreCase("global")) { node.setServer(perms.getServer());