diff --git a/buildSrc/build.gradle b/buildSrc/build.gradle index 450335a4a1..58641fa31c 100644 --- a/buildSrc/build.gradle +++ b/buildSrc/build.gradle @@ -1,7 +1,8 @@ repositories { - maven { url = 'https://maven.minecraftforge.net/' } mavenCentral() + maven { url = 'https://maven.minecraftforge.net/' } } + dependencies { implementation 'org.ow2.asm:asm:9.6' implementation 'org.ow2.asm:asm-tree:9.6' diff --git a/src/main/java/net/minecraftforge/server/console/TerminalHandler.java b/src/main/java/net/minecraftforge/server/console/TerminalHandler.java index 976678f2f0..a699decf88 100644 --- a/src/main/java/net/minecraftforge/server/console/TerminalHandler.java +++ b/src/main/java/net/minecraftforge/server/console/TerminalHandler.java @@ -29,7 +29,7 @@ public static boolean handleCommands(DedicatedServer server) LineReader reader = LineReaderBuilder.builder() .appName("Forge") .terminal(terminal) - .completer(new org.bukkit.craftbukkit.v1_16_R3.command.ConsoleCommandCompleter(server)) + .completer(new ConsoleCommandCompleter(server)) .build(); reader.setOpt(LineReader.Option.DISABLE_EVENT_EXPANSION); reader.unsetOpt(LineReader.Option.INSERT_TAB); diff --git a/src/main/java/org/bukkit/craftbukkit/v1_16_R3/command/ConsoleCommandCompleter.java b/src/main/java/org/bukkit/craftbukkit/v1_16_R3/command/ConsoleCommandCompleter.java index 6ead7f6b82..6cd21a460e 100644 --- a/src/main/java/org/bukkit/craftbukkit/v1_16_R3/command/ConsoleCommandCompleter.java +++ b/src/main/java/org/bukkit/craftbukkit/v1_16_R3/command/ConsoleCommandCompleter.java @@ -3,7 +3,6 @@ import java.util.Collections; import java.util.List; import java.util.concurrent.ExecutionException; -import java.util.logging.Level; import net.minecraft.server.dedicated.DedicatedServer; import org.bukkit.craftbukkit.v1_16_R3.CraftServer;