Allow f show to be sent to non-players.

Fanciful will remove the json formatting to send a readable message.
This commit is contained in:
drtshock 2014-12-10 22:36:46 -06:00
parent c9433d0cf3
commit fa4154a0ce

View File

@ -26,7 +26,6 @@ public class CmdShow extends FCommand {
this.permission = Permission.SHOW.node; this.permission = Permission.SHOW.node;
this.disableOnLock = false; this.disableOnLock = false;
senderMustBePlayer = true;
senderMustBeMember = false; senderMustBeMember = false;
senderMustBeModerator = false; senderMustBeModerator = false;
senderMustBeAdmin = false; senderMustBeAdmin = false;
@ -153,7 +152,7 @@ public class CmdShow extends FCommand {
msg(TL.COMMAND_SHOW_BANKCONTAINS, Econ.moneyString(Econ.getBalance(faction.getAccountId()))); msg(TL.COMMAND_SHOW_BANKCONTAINS, Econ.moneyString(Econ.getBalance(faction.getAccountId())));
} }
} }
sendFancyMessage(allies); sendFancyMessage(allies);
sendFancyMessage(enemies); sendFancyMessage(enemies);
sendFancyMessage(online); sendFancyMessage(online);