diff --git a/src/pocketmine/inventory/CraftingManager.php b/src/pocketmine/inventory/CraftingManager.php index a73132aa5..62566117c 100644 --- a/src/pocketmine/inventory/CraftingManager.php +++ b/src/pocketmine/inventory/CraftingManager.php @@ -66,8 +66,7 @@ class CraftingManager{ $this->registerRecipe($result); break; case 1: - $outputs = $recipe["output"]; - $first = array_shift($outputs); + $first = array_shift($recipe["output"]); $this->registerRecipe(new ShapedRecipe( Item::jsonDeserialize($first),