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