@@ -56,7 +56,7 @@
|
||||
InventoryCrafting inventorycrafting = makeContainer(enumcolor, enumcolor1);
|
||||
- Optional optional = this.level.getRecipeManager().getRecipeFor(Recipes.CRAFTING, inventorycrafting, this.level).map((recipecrafting) -> {
|
||||
+ Optional<Item> optional = this.level.getRecipeManager().getRecipeFor(Recipes.CRAFTING, inventorycrafting, this.level).map((recipecrafting) -> { // CraftBukkit - decompile error
|
||||
return recipecrafting.assemble(inventorycrafting);
|
||||
return recipecrafting.assemble(inventorycrafting, this.level.registryAccess());
|
||||
}).map(ItemStack::getItem);
|
||||
|
||||
@@ -399,10 +420,18 @@
|
||||
|
||||
Reference in New Issue
Block a user