Skip to content

Commit

Permalink
Bump version
Browse files Browse the repository at this point in the history
  • Loading branch information
CodexAdrian committed Nov 1, 2024
1 parent 2241a3f commit f070c86
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ org.gradle.parallel=true

enabledPlatforms=fabric,neoforge

version=0.0.4
version=0.0.5
group=earth.terrarium.common_storage_lib

minecraftVersion=1.21
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@

public record FluidIngredientType<T extends FluidIngredient>(ResourceLocation id, MapCodec<T> codec, StreamCodec<RegistryFriendlyByteBuf, T> streamCodec) {
public FluidIngredientType(ResourceLocation id, MapCodec<T> codec) {
this(id, codec, ByteBufCodecs.fromCodecWithRegistries(codec.codec()));
this(id, codec, ByteBufCodecs.fromCodecWithRegistries(new MapCodec.MapCodecCodec<>(codec)));
}
}

0 comments on commit f070c86

Please sign in to comment.