Complain about lack of page index to packet page.
Dieser Commit ist enthalten in:
Ursprung
a902c1f186
Commit
4f95b515ae
@ -171,6 +171,11 @@ class CommandPacket extends CommandBase {
|
|||||||
|
|
||||||
// Commands with different parameters
|
// Commands with different parameters
|
||||||
if (subCommand == SubCommand.PAGE) {
|
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]);
|
int page = Integer.parseInt(args[1]);
|
||||||
|
|
||||||
if (page > 0)
|
if (page > 0)
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren