We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9ca7c91 commit 7a8fce2Copy full SHA for 7a8fce2
src/main/java/com/comphenix/protocol/utility/MinecraftReflection.java
@@ -225,6 +225,7 @@ public static String getMinecraftPackage() {
225
if (MinecraftVersion.CAVES_CLIFFS_1.atOrAbove()) {
226
// total rework of the NMS structure in 1.17 (at least there's no versioning)
227
MINECRAFT_FULL_PACKAGE = MINECRAFT_PREFIX_PACKAGE = "net.minecraft";
228
+ setDynamicPackageMatcher(MINECRAFT_OBJECT);
229
} else {
230
MINECRAFT_FULL_PACKAGE = getPackage(getHandle.getReturnType().getCanonicalName());
231
0 commit comments