Fix Brigadier suggestions for KeyedWorldArgument
This commit is contained in:
parent
4447ab451f
commit
b4492e9bc5
3 changed files with 48 additions and 15 deletions
|
|
@ -49,7 +49,7 @@ final class PaperBrigadierMapper<C> {
|
|||
final Class<?> keyed = CraftBukkitReflection.findClass("org.bukkit.Keyed");
|
||||
if (keyed != null && keyed.isAssignableFrom(World.class)) {
|
||||
mapper.mapSimpleNMS(new TypeToken<KeyedWorldArgument.Parser<C>>() {
|
||||
}, "resource_location");
|
||||
}, "resource_location", true);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue