Skip to content

Commit

Permalink
Fix error on 1.20.4
Browse files Browse the repository at this point in the history
Fixes #2998
  • Loading branch information
dmulloy2 committed Jun 10, 2024
1 parent 8272ecb commit 914bc9a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ public InMemoryDataWatcher(List<WrappedWatchableObject> objects) {
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")
Expand Down

0 comments on commit 914bc9a

Please sign in to comment.