change fireworks flag from -w to -f
This commit is contained in:
parent
b50ebf35e7
commit
eee74991c4
@ -60,7 +60,7 @@ public class DiscoCommands implements CommandExecutor {
|
|||||||
PartyBuilder builder = new PartyBuilder(player);
|
PartyBuilder builder = new PartyBuilder(player);
|
||||||
// ctor takes "program name" as first arg so we pass the sub-command as that
|
// 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:]
|
// 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;
|
int c;
|
||||||
while ((c = g.getopt()) != -1) {
|
while ((c = g.getopt()) != -1) {
|
||||||
@ -101,7 +101,7 @@ public class DiscoCommands implements CommandExecutor {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case 'w':
|
case 'f':
|
||||||
builder.fireworks();
|
builder.fireworks();
|
||||||
break;
|
break;
|
||||||
case 'l':
|
case 'l':
|
||||||
|
@ -205,7 +205,7 @@ public final class DiscoSheep extends JavaPlugin {
|
|||||||
+ "-r <integer>: set radius of the area in which sheep can spawn\n"
|
+ "-r <integer>: set radius of the area in which sheep can spawn\n"
|
||||||
+ "-g <mob:integer, mob:integer...>: set spawns for other mobs, eg. -g cow:5,pig:2\n"
|
+ "-g <mob:integer, mob:integer...>: set spawns for other mobs, eg. -g cow:5,pig:2\n"
|
||||||
+ "-l: enables lightning\n"
|
+ "-l: enables lightning\n"
|
||||||
+ "-w: enables fireworks\n"
|
+ "-f: enables fireworks\n"
|
||||||
+ "-j: enables alternative method for setting sheep colours\n"
|
+ "-j: enables alternative method for setting sheep colours\n"
|
||||||
+ "-b <integer>: spawns a percentage of mobs as babies, if possible\n"
|
+ "-b <integer>: spawns a percentage of mobs as babies, if possible\n"
|
||||||
+ "-P: enables pentatonic backing track\n");
|
+ "-P: enables pentatonic backing track\n");
|
||||||
|
Loading…
Reference in New Issue
Block a user