Fixed dupe cake glitch

this is what happens when you try to be clever when not properly awake
This commit is contained in:
Dylan K. Taylor 2017-09-20 11:19:15 +01:00
parent 7996a7b08c
commit 0262465a26

View File

@ -66,8 +66,7 @@ class CraftingManager{
$this->registerRecipe($result); $this->registerRecipe($result);
break; break;
case 1: case 1:
$outputs = $recipe["output"]; $first = array_shift($recipe["output"]);
$first = array_shift($outputs);
$this->registerRecipe(new ShapedRecipe( $this->registerRecipe(new ShapedRecipe(
Item::jsonDeserialize($first), Item::jsonDeserialize($first),