mirror of
https://github.com/Minestom/Minestom.git
synced 2025-01-06 00:17:58 +01:00
Add beta to map
This commit is contained in:
parent
45cc41c99e
commit
e4c3345da7
@ -225,6 +225,7 @@ public abstract class Argument<T> {
|
||||
*
|
||||
* @return A new ArgumentMap that can get this complex object type.
|
||||
*/
|
||||
@Beta
|
||||
public <O> ArgumentMap<T, O> map(ArgumentMapper<T, O> mapper) {
|
||||
return new ArgumentMap<>(this, mapper);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user