mirror of
https://github.com/dmulloy2/ProtocolLib.git
synced 2024-11-24 03:25:29 +01:00
parent
9ca7c91a76
commit
7a8fce224e
@ -225,6 +225,7 @@ public class MinecraftReflection {
|
||||
if (MinecraftVersion.CAVES_CLIFFS_1.atOrAbove()) {
|
||||
// total rework of the NMS structure in 1.17 (at least there's no versioning)
|
||||
MINECRAFT_FULL_PACKAGE = MINECRAFT_PREFIX_PACKAGE = "net.minecraft";
|
||||
setDynamicPackageMatcher(MINECRAFT_OBJECT);
|
||||
} else {
|
||||
MINECRAFT_FULL_PACKAGE = getPackage(getHandle.getReturnType().getCanonicalName());
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user