some clean

This commit is contained in:
Sunch 2025-01-11 21:57:51 +08:00
parent 6fb46ccfae
commit 6034357f78
2 changed files with 1 additions and 2 deletions

View file

@ -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;
}

View file

@ -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],
];
}