mirror of
https://github.com/Minestom/Minestom.git
synced 2025-01-23 08:31:26 +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.
|
* @return A new ArgumentMap that can get this complex object type.
|
||||||
*/
|
*/
|
||||||
|
@Beta
|
||||||
public <O> ArgumentMap<T, O> map(ArgumentMapper<T, O> mapper) {
|
public <O> ArgumentMap<T, O> map(ArgumentMapper<T, O> mapper) {
|
||||||
return new ArgumentMap<>(this, mapper);
|
return new ArgumentMap<>(this, mapper);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user