mirror of
https://github.com/Minestom/Minestom.git
synced 2025-01-24 00:51:34 +01:00
Added convenient Arguments#has
This commit is contained in:
parent
df2ee23a7c
commit
beaf25ff47
@ -49,6 +49,10 @@ public final class Arguments {
|
||||
});
|
||||
}
|
||||
|
||||
public boolean has(@NotNull String identifier) {
|
||||
return args.containsKey(identifier);
|
||||
}
|
||||
|
||||
/**
|
||||
* @deprecated use {@link #get(Argument)}.
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user