mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-06 09:56:06 +00:00
MainLogger can now have debug level disabled
This commit is contained in:
@ -77,6 +77,7 @@ class ShapelessRecipe implements Recipe{
|
||||
$item->setCount($item->getCount() - 1);
|
||||
}
|
||||
}
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
@ -88,6 +89,7 @@ class ShapelessRecipe implements Recipe{
|
||||
foreach($this->ingredients as $ingredient){
|
||||
$ingredients[] = clone $ingredient;
|
||||
}
|
||||
|
||||
return $ingredients;
|
||||
}
|
||||
|
||||
@ -99,6 +101,7 @@ class ShapelessRecipe implements Recipe{
|
||||
foreach($this->ingredients as $ingredient){
|
||||
$count += $ingredient->getCount();
|
||||
}
|
||||
|
||||
return $count;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user