mirror of
https://github.com/Xiao-MoMi/Custom-Crops.git
synced 2025-12-23 00:49:33 +00:00
1.6.3.4
This commit is contained in:
@@ -37,7 +37,7 @@ public class Completer implements TabCompleter {
|
||||
}
|
||||
if (args.length == 1) {
|
||||
List<String> arrayList = new ArrayList<>();
|
||||
for (String cmd : Arrays.asList("backup", "forcegrow", "forcesave", "forcewater", "reload", "setseason")) {
|
||||
for (String cmd : Arrays.asList("backup", "forcegrow", "forcesave", "forceall","forcewater", "reload", "setseason")) {
|
||||
if (cmd.startsWith(args[0]))
|
||||
arrayList.add(cmd);
|
||||
}
|
||||
@@ -81,7 +81,7 @@ public class Completer implements TabCompleter {
|
||||
}
|
||||
return arrayList;
|
||||
}
|
||||
if(args[0].equalsIgnoreCase("forcegrow") || args[0].equalsIgnoreCase("forcewater")){
|
||||
if(args[0].equalsIgnoreCase("forcegrow") || args[0].equalsIgnoreCase("forcewater") || args[0].equalsIgnoreCase("forceall")){
|
||||
List<String> arrayList = new ArrayList<>();
|
||||
for (String cmd : ConfigReader.Config.worldNames) {
|
||||
if (cmd.startsWith(args[1]))
|
||||
|
||||
Reference in New Issue
Block a user