From 4855cf753c7335d4e6e3f351a4cf0eeb9d6380e7 Mon Sep 17 00:00:00 2001 From: Gibstick Date: Fri, 19 Jul 2013 12:29:30 -0400 Subject: [PATCH] output no perms message for -fw --- dist/DiscoSheep.jar | Bin 31668 -> 31665 bytes .../discosheep/DiscoSheepCommandExecutor.java | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/dist/DiscoSheep.jar b/dist/DiscoSheep.jar index 1e6b4e032acf807f2f6460c236d1aeff5669f48c..5fb558801ac1d58811b824b1ffd8e1363e77de3e 100644 GIT binary patch delta 690 zcmY+CUr19?9LK-Ev%Bfsrfm{y&>XD7Tv`y6XhD(vfviv#%!nwuh*)z>658Cu5(=_1 zScfRrLob6}s)x4eMrGNwKUCBxsUA|WWl=#8^x#WS=gbPaaQJ-g@BYs3-ru>uk$FnZ zlew)`r&IvtfTqUGbu6i-8qLHsm2aaJ5`LpQTEKeIs=i5)q%=M=k|F)hG;69V0nIpNxvP&F$5SW!pN+Rz`gJJ$Z-2 zcFhT>xkF~m>yx(*nH|RKT)6}g-SY9t0k^kYyV|@OY$Sjm0nR0uW0~pXb3Zuz*`!_EREwG zrSYC}_(7Zvy_HX|o?;ag0!;D_kKPZ7idVgORG@lQB$6%#1t zZU0#iRm-t7+)IW&YQq)uz^YCPXAtN0%Ff~(s9<=}luMeTE3M;}p6%L0R75c;N3ctf%g`*L#^}m-PCnBvC rDzbg{!Y?0pqo!N6x;%#C#{)7RsFjAOMO6q!*O5*3M(z3|A(iqMCo{jD diff --git a/src/gibstick/bukkit/discosheep/DiscoSheepCommandExecutor.java b/src/gibstick/bukkit/discosheep/DiscoSheepCommandExecutor.java index c7f94c8..510bece 100644 --- a/src/gibstick/bukkit/discosheep/DiscoSheepCommandExecutor.java +++ b/src/gibstick/bukkit/discosheep/DiscoSheepCommandExecutor.java @@ -182,7 +182,7 @@ public class DiscoSheepCommandExecutor implements CommandExecutor { if (senderHasPerm(sender, PERMISSION_FIREWORKS)) { mainParty.setDoFireworks(true); } else { - noPermsMessage(sender, PERMISSION_FIREWORKS); + return noPermsMessage(sender, PERMISSION_FIREWORKS); } } else if (args[i].equalsIgnoreCase("-r")) { try {