change fireworks flag from -w to -f
This commit is contained in:
		| @@ -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': | ||||
|   | ||||
| @@ -205,7 +205,7 @@ public final class DiscoSheep extends JavaPlugin { | ||||
|                 + "-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" | ||||
|                 + "-l: enables lightning\n" | ||||
|                 + "-w: enables fireworks\n" | ||||
|                 + "-f: enables fireworks\n" | ||||
|                 + "-j: enables alternative method for setting sheep colours\n" | ||||
|                 + "-b <integer>: spawns a percentage of mobs as babies, if possible\n" | ||||
|                 + "-P: enables pentatonic backing track\n"); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Charlie Wang
					Charlie Wang