CraftingDataCache: Fix Cartography's recipe block name (#5302)

This commit is contained in:
DavyCraft648
2022-09-23 20:59:44 +07:00
committed by GitHub
parent b39eaaf91f
commit c24370b8ac

View File

@ -87,7 +87,7 @@ final class CraftingDataCache{
$typeTag = match($recipe->getType()->id()){
ShapelessRecipeType::CRAFTING()->id() => CraftingRecipeBlockName::CRAFTING_TABLE,
ShapelessRecipeType::STONECUTTER()->id() => CraftingRecipeBlockName::STONECUTTER,
ShapelessRecipeType::CARTOGRAPHY()->id() => CraftingRecipeBlockName::SMITHING_TABLE,
ShapelessRecipeType::CARTOGRAPHY()->id() => CraftingRecipeBlockName::CARTOGRAPHY_TABLE,
ShapelessRecipeType::SMITHING()->id() => CraftingRecipeBlockName::SMITHING_TABLE,
default => throw new AssumptionFailedError("Unreachable"),
};