From c0da9d49d9579e8ef75f4a600bf78fb956904d48 Mon Sep 17 00:00:00 2001 From: Luck Date: Mon, 16 Jan 2017 16:55:59 +0000 Subject: [PATCH] make clickable message invert filter more specific --- .../me/lucko/luckperms/common/commands/utils/Util.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/common/src/main/java/me/lucko/luckperms/common/commands/utils/Util.java b/common/src/main/java/me/lucko/luckperms/common/commands/utils/Util.java index 8da43b0a..59199b7a 100644 --- a/common/src/main/java/me/lucko/luckperms/common/commands/utils/Util.java +++ b/common/src/main/java/me/lucko/luckperms/common/commands/utils/Util.java @@ -203,8 +203,8 @@ public class Util { boolean group = !(holder instanceof User); String command = ExportCommand.nodeToString(node, group ? holder.getObjectName() : holder.getFriendlyName(), group) .replace("/luckperms", "/" + label) - .replace("set", "unset") - .replace("add", "remove") + .replace("permission set", "permission unset") + .replace("parent add", "parent remove") .replace(" true", "") .replace(" false", ""); @@ -226,8 +226,8 @@ public class Util { String command = ExportCommand.nodeToString(node, group ? holderName : holderName, group) .replace("/luckperms", "/" + label) - .replace("set", "unset") - .replace("add", "remove") + .replace("permission set", "permission unset") + .replace("parent add", "parent remove") .replace(" true", "") .replace(" false", "");