Archiviert
13
0

Complain about lack of page index to packet page.

Dieser Commit ist enthalten in:
Kristian S. Stangeland 2014-01-11 02:13:41 +01:00
Ursprung a902c1f186
Commit 4f95b515ae

Datei anzeigen

@ -171,6 +171,11 @@ class CommandPacket extends CommandBase {
// Commands with different parameters
if (subCommand == SubCommand.PAGE) {
if (args.length <= 1) {
sendMessageSilently(sender, ChatColor.RED + "Must specify a page index.");
return true;
}
int page = Integer.parseInt(args[1]);
if (page > 0)