Skip to content

Commit

Permalink
Corrected player message for /disguisetoggle. Resolves #1872 (#2042)
Browse files Browse the repository at this point in the history
  • Loading branch information
Wild1145 authored and JeromSar committed Jun 30, 2017
1 parent f97de65 commit 26c83ff
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@ public boolean run(CommandSender sender, Player playerSender, Command cmd, Strin
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())
{
Expand All @@ -34,7 +35,7 @@ public boolean run(CommandSender sender, Player playerSender, Command cmd, Strin
plugin.ldb.setDisguisesEnabled(true);
}

msg("Enabled " + (DisallowedDisguises.disabled ? "enabled." : "disabled."));
msg("Disguises are now " + (!DisallowedDisguises.disabled ? "enabled." : "disabled."));

return true;
}
Expand Down

0 comments on commit 26c83ff

Please sign in to comment.