From eee74991c46a438a7787bbf7efb18fd27f30b79d Mon Sep 17 00:00:00 2001 From: Charlie Wang Date: Mon, 17 Aug 2015 15:02:26 -0400 Subject: [PATCH] change fireworks flag from -w to -f --- src/me/cwang/discosheep/DiscoCommands.java | 4 ++-- src/me/cwang/discosheep/DiscoSheep.java | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/me/cwang/discosheep/DiscoCommands.java b/src/me/cwang/discosheep/DiscoCommands.java index 59f5afc..2517c20 100644 --- a/src/me/cwang/discosheep/DiscoCommands.java +++ b/src/me/cwang/discosheep/DiscoCommands.java @@ -60,7 +60,7 @@ public class DiscoCommands implements CommandExecutor { PartyBuilder builder = new PartyBuilder(player); // ctor takes "program name" as first arg so we pass the sub-command as that // args then start at args[1] so we slice args[1:] - Getopt g = new Getopt(args[0], Arrays.copyOfRange(args, 1, args.length), "n:t:p:r:g:lwjPb:"); + Getopt g = new Getopt(args[0], Arrays.copyOfRange(args, 1, args.length), "n:t:p:r:g:lfjPb:"); int c; while ((c = g.getopt()) != -1) { @@ -101,7 +101,7 @@ public class DiscoCommands implements CommandExecutor { } } break; - case 'w': + case 'f': builder.fireworks(); break; case 'l': diff --git a/src/me/cwang/discosheep/DiscoSheep.java b/src/me/cwang/discosheep/DiscoSheep.java index 32ca98b..abafb0d 100644 --- a/src/me/cwang/discosheep/DiscoSheep.java +++ b/src/me/cwang/discosheep/DiscoSheep.java @@ -205,7 +205,7 @@ public final class DiscoSheep extends JavaPlugin { + "-r : set radius of the area in which sheep can spawn\n" + "-g : set spawns for other mobs, eg. -g cow:5,pig:2\n" + "-l: enables lightning\n" - + "-w: enables fireworks\n" + + "-f: enables fireworks\n" + "-j: enables alternative method for setting sheep colours\n" + "-b : spawns a percentage of mobs as babies, if possible\n" + "-P: enables pentatonic backing track\n");