Skip to content

Commit 08fe3d8

Browse files
committed
This is stupid if it fixes time capsule crash...
1 parent 239a76e commit 08fe3d8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

common/src/main/java/generations/gg/generations/core/generationscore/common/world/item/components/GenerationsDataComponents.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ object GenerationsDataComponents: PlatformRegistry<DataComponentType<*>>(Registr
4040

4141
val CURRY_DATA = register("curry_data", CurryData.CODEC, CurryData.STREAM_CODEC)
4242
val TM_DETAILS = register("tm_details", TmDetails.CODEC, TmDetails.STREAM_CODEC)
43-
val EMBEDDED_POKEMON = register("embedded_pokemon", Pokemon.CODEC, Pokemon.S2C_CODEC)
43+
val EMBEDDED_POKEMON = register("embedded_pokemon", Pokemon.CODEC, ByteBufCodecs.fromCodecWithRegistries(Pokemon.CODEC))
4444

4545
val MAIL_DATA = register("mail_data", MailContent.CODEC, MailContent.STREAM_CODEC)
4646

0 commit comments

Comments
 (0)