bukkit: Fix typo in MinecraftArgumentTypes
This commit is contained in:
parent
e5f55145b1
commit
b163dce3c1
2 changed files with 6 additions and 2 deletions
|
|
@ -86,7 +86,11 @@ public final class CraftBukkitReflection {
|
|||
return nmsClass;
|
||||
}
|
||||
return firstNonNullOrThrow(
|
||||
() -> "Couldn't find a class! NMS: '%s' or '%s'.",
|
||||
() -> String.format(
|
||||
"Cound't find the NMS class '%s', or any of the following fallbacks: %s",
|
||||
nms,
|
||||
Arrays.toString(classNames)
|
||||
),
|
||||
Arrays.stream(classNames)
|
||||
.map(CraftBukkitReflection::findClass)
|
||||
.toArray(Class[]::new)
|
||||
|
|
|
|||
|
|
@ -85,7 +85,7 @@ public final class MinecraftArgumentTypes {
|
|||
);
|
||||
argumentRegistry = CraftBukkitReflection.needNMSClassOrElse(
|
||||
"ArgumentRegistry",
|
||||
"commands.synchronization.ArgumentRegistry"
|
||||
"net.minecraft.commands.synchronization.ArgumentRegistry"
|
||||
);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue