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