From 99d4a88df013c03aa3e82bc75ec3e6ece65b9df9 Mon Sep 17 00:00:00 2001 From: nextdaydelivery <79922345+nxtdaydelivery@users.noreply.github.com> Date: Sun, 3 Jul 2022 12:35:21 +0100 Subject: changes to ESC behavior --- .../polyfrost/oneconfig/utils/commands/PlatformCommandManagerImpl.java | 3 +++ 1 file changed, 3 insertions(+) (limited to 'versions/src/main/java/cc/polyfrost/oneconfig/utils/commands') diff --git a/versions/src/main/java/cc/polyfrost/oneconfig/utils/commands/PlatformCommandManagerImpl.java b/versions/src/main/java/cc/polyfrost/oneconfig/utils/commands/PlatformCommandManagerImpl.java index 76dab84..c38fbff 100644 --- a/versions/src/main/java/cc/polyfrost/oneconfig/utils/commands/PlatformCommandManagerImpl.java +++ b/versions/src/main/java/cc/polyfrost/oneconfig/utils/commands/PlatformCommandManagerImpl.java @@ -27,6 +27,7 @@ public class PlatformCommandManagerImpl implements PlatformCommandManager { @Override public void createCommand(CommandManager.InternalCommand root, Command annotation) { + //#if MC<=11202 ClientCommandHandler.instance.registerCommand(new CommandBase() { @Override public String getCommandName() { @@ -65,6 +66,8 @@ public class PlatformCommandManagerImpl implements PlatformCommandManager { return handleTabCompletion(root, annotation, args); } }); + //#else + //#endif } private void handleCommand(CommandManager.InternalCommand root, Command annotation, String[] args) { -- cgit