Skip to content

Commit e42e9d5

Browse files
committed
fix
1 parent 3252e29 commit e42e9d5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Forge/src/main/java/at/petrak/hexcasting/forge/cap/adimpl/CapStaticIotaHolder.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ public record CapStaticIotaHolder(Function<ItemStack, Iota> provider,
1818
public @Nullable
1919
CompoundTag readIotaTag() {
2020
var iota = provider.apply(stack);
21-
return iota == null ? null : (CompoundTag) HexUtils.serializeWithCodec(iota, Iota.CODEC.get().codec());
21+
return iota == null ? null : (CompoundTag) HexUtils.serializeWithCodec(iota, Iota.getCodec());
2222
}
2323

2424
@Override

0 commit comments

Comments
 (0)