mirror of
https://github.com/Zrips/Jobs.git
synced 2024-11-29 14:05:25 +01:00
Update TabComplete.java
This commit is contained in:
parent
058b8440a8
commit
925ee2c478
@ -28,7 +28,7 @@ public class TabComplete implements TabCompleter {
|
||||
|
||||
if (args.length == 1) {
|
||||
String PartOfCommand = args[0];
|
||||
List<String> temp = new ArrayList<String>();
|
||||
List<String> temp = new ArrayList<>();
|
||||
|
||||
for (Entry<String, Integer> BCmd : Jobs.getCommandManager().GetCommands(sender).entrySet()) {
|
||||
temp.add(BCmd.getKey());
|
||||
@ -50,7 +50,7 @@ public class TabComplete implements TabCompleter {
|
||||
continue;
|
||||
|
||||
String arg = ArgsList.get(i - 1);
|
||||
List<String> temp = new ArrayList<String>();
|
||||
List<String> temp = new ArrayList<>();
|
||||
|
||||
if (arg.contains("%%"))
|
||||
for (String one : arg.split("%%")) {
|
||||
|
Loading…
Reference in New Issue
Block a user