Skip to content

Commit c2908eb

Browse files
committed
Replace deprecated MutableObject#getValue reference
1 parent d654c65 commit c2908eb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/choonster/testmod3/world/level/block/variantgroup/BlockVariantGroupMapCodec.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ public <T> Stream<T> keys(final DynamicOps<T> ops) {
5959
public <T> DataResult<IBlockVariantGroup<VARIANT, BLOCK>> decode(final DynamicOps<T> ops, final MapLike<T> input) {
6060
final var variantGroupObject = new MutableObject<IBlockVariantGroup<VARIANT, BLOCK>>();
6161

62-
final var blocksMapCodec = getBlocksMapCodec(variantGroupObject::getValue);
62+
final var blocksMapCodec = getBlocksMapCodec(variantGroupObject);
6363

6464
final var groupName = groupNameCodec.decode(ops, input);
6565
final var variants = variantsListCodec.decode(ops, input);

0 commit comments

Comments
 (0)