Fix error on 1.20.4

Fixes #2998
This commit is contained in:
Dan Mulloy 2024-06-10 10:13:27 -05:00
parent 8272ecb33d
commit 914bc9aa7f
No known key found for this signature in database
GPG Key ID: BFACD592A5F0DFD6

View File

@ -53,7 +53,7 @@ public final class InMemoryDataWatcher implements IDataWatcher {
private static FieldAccessor ARRAY_FIELD;
private static ConstructorAccessor CONSTRUCTOR;
private static boolean ARRAY_BACKED = MinecraftVersion.v1_20_4.atOrAbove();
private static boolean ARRAY_BACKED = MinecraftVersion.v1_20_5.atOrAbove();
private static Class<?> SYNCED_DATA_HOLDER_CLASS = ARRAY_BACKED
? MinecraftReflection.getMinecraftClass("network.syncher.SyncedDataHolder")