Removed all NMS mapping stuff since paper jar is now mojang mapped

This commit is contained in:
2024-06-12 23:31:54 +02:00
parent 0ff2ae1296
commit 827c13887c
68 changed files with 340 additions and 1365 deletions

View File

@@ -366,7 +366,7 @@ public abstract class PaperBrigadierCommand extends BrigadierCommand<CommandSour
*/
public Vector tryGetMinecraftVec3Argument(CommandContext<CommandSourceStack> context, String argument,
Vector deflt) {
return tryGetArgument(context, argument, Coordinates.MAPPING.runtimeClass(),
return tryGetArgument(context, argument, Coordinates.REFLECT.get(),
nmsCoordinate -> CraftVector.toBukkit(
ReflectWrapper.wrap(nmsCoordinate, Coordinates.class).getPosition(context.getSource())
),