diff options
author | nextdaydelivery <79922345+nxtdaydelivery@users.noreply.github.com> | 2022-07-03 12:35:21 +0100 |
---|---|---|
committer | nextdaydelivery <79922345+nxtdaydelivery@users.noreply.github.com> | 2022-07-03 12:35:21 +0100 |
commit | 99d4a88df013c03aa3e82bc75ec3e6ece65b9df9 (patch) | |
tree | 610eddeed5f0f69c0cbef86106ff0bbc8d9387ea /versions/src/main/java/cc/polyfrost/oneconfig/utils | |
parent | 52d921c208d87b71665ff78cea88b37a44a29cae (diff) | |
download | OneConfig-99d4a88df013c03aa3e82bc75ec3e6ece65b9df9.tar.gz OneConfig-99d4a88df013c03aa3e82bc75ec3e6ece65b9df9.tar.bz2 OneConfig-99d4a88df013c03aa3e82bc75ec3e6ece65b9df9.zip |
changes to ESC behavior
Diffstat (limited to 'versions/src/main/java/cc/polyfrost/oneconfig/utils')
-rw-r--r-- | versions/src/main/java/cc/polyfrost/oneconfig/utils/commands/PlatformCommandManagerImpl.java | 3 |
1 files changed, 3 insertions, 0 deletions
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) { |