mirror of
https://github.com/darverdevs/PluginInstaller.git
synced 2024-12-21 23:04:12 -08:00
bug fixes
This commit is contained in:
parent
819cf990e5
commit
20caab7e2e
Binary file not shown.
|
@ -23,7 +23,7 @@ public class PluginList {
|
|||
sender.sendMessage(i+". "+ AlphaPluginList[i-1] + "" + Utils.ListToString(spaces) + "" +SecondCollumn + ". " + AlphaPluginList[SecondCollumn-1]);
|
||||
SecondCollumn++;
|
||||
}
|
||||
sender.sendMessage(" Page 1 of 12");
|
||||
sender.sendMessage(" Page 1 of 3");
|
||||
sender.sendMessage("Note: You do not need to have proper");
|
||||
sender.sendMessage("capitalization when using the install command");
|
||||
}
|
||||
|
@ -59,7 +59,7 @@ public class PluginList {
|
|||
SecondCollumn++;
|
||||
}
|
||||
|
||||
sender.sendMessage(" Page 2 of 12");
|
||||
sender.sendMessage(" Page 2 of 3");
|
||||
sender.sendMessage("Note: You do not need to have proper");
|
||||
sender.sendMessage("capitalization when using the install command");
|
||||
}
|
||||
|
@ -95,7 +95,7 @@ public class PluginList {
|
|||
SecondCollumn++;
|
||||
}
|
||||
|
||||
sender.sendMessage(" Page 3 of 12");
|
||||
sender.sendMessage(" Page 3 of 3");
|
||||
sender.sendMessage("Note: You do not need to have proper");
|
||||
sender.sendMessage("capitalization when using the install command");
|
||||
}
|
||||
|
|
|
@ -10,12 +10,11 @@ public class plistCommand implements CommandExecutor {
|
|||
@Override
|
||||
public boolean onCommand(CommandSender sender, Command cmd, String label, String[] args) {
|
||||
if (cmd.getName().equalsIgnoreCase("plist") && sender.isOp() || sender instanceof ConsoleCommandSender) {
|
||||
if (args.length == 0) {
|
||||
PluginList.SendPG1ToSender(sender);
|
||||
return true;
|
||||
}
|
||||
if (args.length >= 1) {
|
||||
try {
|
||||
System.out.println(args[0]);
|
||||
} catch (ArrayIndexOutOfBoundsException e) {
|
||||
System.out.println("error");
|
||||
}
|
||||
int listPage = 0;
|
||||
boolean PageArgIsInt = false;
|
||||
try {
|
||||
|
|
Binary file not shown.
Binary file not shown.
Loading…
Reference in New Issue
Block a user