Fixed warzone tab autocomplete issue.

This commit is contained in:
ProSavage 2019-01-13 10:23:02 -06:00
parent 18e53d2a91
commit 5ca6b7d2d4

View File

@ -105,6 +105,7 @@ public abstract class FCommand extends MCommand<SavageFactions> {
return false; return false;
} }
if (this.senderMustBeModerator && !fme.getRole().isAtLeast(Role.MODERATOR)) { if (this.senderMustBeModerator && !fme.getRole().isAtLeast(Role.MODERATOR)) {
if (informSenderIfNot) { if (informSenderIfNot) {
sender.sendMessage(p.txt.parse("<b>Only faction moderators can %s.", this.getHelpShort())); sender.sendMessage(p.txt.parse("<b>Only faction moderators can %s.", this.getHelpShort()));