From 6034357f781e376e5fb8e8223b8aa65183d53f30 Mon Sep 17 00:00:00 2001 From: Sunch <120295462+Sunch233@users.noreply.github.com> Date: Sat, 11 Jan 2025 21:57:51 +0800 Subject: [PATCH] some clean --- src/recipes/CraftingRecipes.php | 2 +- src/recipes/SmeltingData.php | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/recipes/CraftingRecipes.php b/src/recipes/CraftingRecipes.php index 204fb77d..47064577 100644 --- a/src/recipes/CraftingRecipes.php +++ b/src/recipes/CraftingRecipes.php @@ -295,7 +295,7 @@ class CraftingRecipes{ break; } } - if($continue === false or $craftItem[0] !== $recipe[1][0] or $recipe[1][1] !== $recipe[1][1] or $recipe[1][2] !== $recipe[1][2]){ + if($continue === false or $craftItem[0] !== $recipe[1][0]){ $continue = false; continue; } diff --git a/src/recipes/SmeltingData.php b/src/recipes/SmeltingData.php index aab7c5a6..1dd447d3 100644 --- a/src/recipes/SmeltingData.php +++ b/src/recipes/SmeltingData.php @@ -15,7 +15,6 @@ class SmeltingData{ RED_MUSHROOM => [DYE, 1], RAW_BEEF => [STEAK, 0], RAW_CHICKEN => [COOKED_CHICKEN, 0], - RED_MUSHROOM => [DYE, 1], POTATO => [BAKED_POTATO, 0], ]; } \ No newline at end of file