mirror of
https://github.com/Minestom/Minestom.git
synced 2024-11-02 17:00:41 +01:00
Dont deprecate setDefaultValue with constant result
This commit is contained in:
parent
929a377dc0
commit
35c60733d1
@ -195,11 +195,7 @@ public abstract class Argument<T> {
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @deprecated use {@link #setDefaultValue(Supplier)}
|
||||
*/
|
||||
@NotNull
|
||||
@Deprecated
|
||||
public Argument<T> setDefaultValue(@Nullable T defaultValue) {
|
||||
this.defaultValue = () -> defaultValue;
|
||||
return this;
|
||||
|
Loading…
Reference in New Issue
Block a user