Mirror von
https://github.com/PaperMC/Velocity.git
synchronisiert 2024-12-25 07:40:13 +01:00
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.
Dieser Commit ist enthalten in:
Ursprung
a6e708c98e
Commit
e3eace6a56
@ -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);
|
||||
|
||||
/**
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren