From e3eace6a563f3b45d2b45e2781a125d942554b78 Mon Sep 17 00:00:00 2001 From: Andrew Steinborn Date: Thu, 22 Oct 2020 00:14:41 -0400 Subject: [PATCH] Undeprecate CommandManager#register(String, Command, String...) This is a very convenient shorthand so let's save it from being axed. This is a change I made for an eventual Velocity 2.0.0 but it is backwards compatible for 1.1.0. --- .../java/com/velocitypowered/api/command/CommandManager.java | 2 -- 1 file changed, 2 deletions(-) diff --git a/api/src/main/java/com/velocitypowered/api/command/CommandManager.java b/api/src/main/java/com/velocitypowered/api/command/CommandManager.java index 68c3ed2c8..afe9356d5 100644 --- a/api/src/main/java/com/velocitypowered/api/command/CommandManager.java +++ b/api/src/main/java/com/velocitypowered/api/command/CommandManager.java @@ -46,9 +46,7 @@ public interface CommandManager { * @param command the command to register * @param otherAliases additional aliases * @throws IllegalArgumentException if one of the given aliases is already registered - * @deprecated Prefer {@link #register(CommandMeta, Command)} instead. */ - @Deprecated void register(String alias, Command command, String... otherAliases); /**