mirror of
https://github.com/Sollace/Unicopia.git
synced 2024-12-02 17:08:00 +01:00
Fixed network error when joining a world
This commit is contained in:
parent
156e17bee5
commit
0e49cda1cc
1 changed files with 1 additions and 1 deletions
|
@ -31,7 +31,7 @@ public class ZapAppleRecipe extends ShapelessRecipe {
|
||||||
PacketCodecs.STRING, ZapAppleRecipe::getGroup,
|
PacketCodecs.STRING, ZapAppleRecipe::getGroup,
|
||||||
CraftingRecipeCategory.PACKET_CODEC, ZapAppleRecipe::getCategory,
|
CraftingRecipeCategory.PACKET_CODEC, ZapAppleRecipe::getCategory,
|
||||||
ItemStack.PACKET_CODEC, recipe -> recipe.getResult(null),
|
ItemStack.PACKET_CODEC, recipe -> recipe.getResult(null),
|
||||||
Ingredient.PACKET_CODEC.collect(PacketCodecs.toCollection(i -> DefaultedList.ofSize(i, Ingredient.EMPTY))), ZapAppleRecipe::getIngredients,
|
Ingredient.PACKET_CODEC.collect(PacketCodecs.toCollection(DefaultedList::ofSize)), ZapAppleRecipe::getIngredients,
|
||||||
ZapAppleRecipe::new
|
ZapAppleRecipe::new
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue