mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-06-07 12:18:46 +00:00
Fixed dupe cake glitch
this is what happens when you try to be clever when not properly awake
This commit is contained in:
parent
7996a7b08c
commit
0262465a26
@ -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),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user