From e42e9d54edd76bc21f31a846fabbbfd73b88eb43 Mon Sep 17 00:00:00 2001 From: Master-Bw3 Date: Sat, 17 Aug 2024 10:00:15 -0500 Subject: [PATCH] fix --- .../petrak/hexcasting/forge/cap/adimpl/CapStaticIotaHolder.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Forge/src/main/java/at/petrak/hexcasting/forge/cap/adimpl/CapStaticIotaHolder.java b/Forge/src/main/java/at/petrak/hexcasting/forge/cap/adimpl/CapStaticIotaHolder.java index 8ae2a8ca4..266bb5fc6 100644 --- a/Forge/src/main/java/at/petrak/hexcasting/forge/cap/adimpl/CapStaticIotaHolder.java +++ b/Forge/src/main/java/at/petrak/hexcasting/forge/cap/adimpl/CapStaticIotaHolder.java @@ -18,7 +18,7 @@ public record CapStaticIotaHolder(Function 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