output no perms message for -fw
This commit is contained in:
parent
0830764cc3
commit
4855cf753c
BIN
dist/DiscoSheep.jar
vendored
BIN
dist/DiscoSheep.jar
vendored
Binary file not shown.
@ -182,7 +182,7 @@ public class DiscoSheepCommandExecutor implements CommandExecutor {
|
|||||||
if (senderHasPerm(sender, PERMISSION_FIREWORKS)) {
|
if (senderHasPerm(sender, PERMISSION_FIREWORKS)) {
|
||||||
mainParty.setDoFireworks(true);
|
mainParty.setDoFireworks(true);
|
||||||
} else {
|
} else {
|
||||||
noPermsMessage(sender, PERMISSION_FIREWORKS);
|
return noPermsMessage(sender, PERMISSION_FIREWORKS);
|
||||||
}
|
}
|
||||||
} else if (args[i].equalsIgnoreCase("-r")) {
|
} else if (args[i].equalsIgnoreCase("-r")) {
|
||||||
try {
|
try {
|
||||||
|
Loading…
Reference in New Issue
Block a user