Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Master-Bw3 committed Aug 17, 2024
1 parent 3252e29 commit e42e9d5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ public record CapStaticIotaHolder(Function<ItemStack, Iota> provider,
public @Nullable
CompoundTag readIotaTag() {
var iota = provider.apply(stack);
return iota == null ? null : (CompoundTag) HexUtils.serializeWithCodec(iota, Iota.CODEC.get().codec());
return iota == null ? null : (CompoundTag) HexUtils.serializeWithCodec(iota, Iota.getCodec());
}

@Override
Expand Down

0 comments on commit e42e9d5

Please sign in to comment.