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