From 26c83ff5852f5adbeba0986828bafdbc217d931e Mon Sep 17 00:00:00 2001 From: Ryan Date: Fri, 30 Jun 2017 08:46:31 +0100 Subject: [PATCH] Corrected player message for /disguisetoggle. Resolves #1872 (#2042) --- .../totalfreedommod/command/Command_disguisetoggle.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/main/java/me/totalfreedom/totalfreedommod/command/Command_disguisetoggle.java b/src/main/java/me/totalfreedom/totalfreedommod/command/Command_disguisetoggle.java index 4eec65f2..eafacaab 100644 --- a/src/main/java/me/totalfreedom/totalfreedommod/command/Command_disguisetoggle.java +++ b/src/main/java/me/totalfreedom/totalfreedommod/command/Command_disguisetoggle.java @@ -22,7 +22,8 @@ public class Command_disguisetoggle extends FreedomCommand return true; } - FUtil.adminAction(sender.getName(), (DisallowedDisguises.disabled ? "Enabling" : "Disabling") + " Disguises", false); + FUtil.adminAction(sender.getName(), (DisallowedDisguises.disabled ? "Enabling" : "Disabling") + " " + + "Disguises", false); if (plugin.ldb.isDisguisesEnabled()) { @@ -34,7 +35,7 @@ public class Command_disguisetoggle extends FreedomCommand plugin.ldb.setDisguisesEnabled(true); } - msg("Enabled " + (DisallowedDisguises.disabled ? "enabled." : "disabled.")); + msg("Disguises are now " + (!DisallowedDisguises.disabled ? "enabled." : "disabled.")); return true; }