mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-06-12 14:35:35 +00:00
Merge branch 'stable' into item-stack-request
This commit is contained in:
commit
58dd4a44e3
@ -34,9 +34,15 @@ use function usort;
|
|||||||
class CraftingManager{
|
class CraftingManager{
|
||||||
use DestructorCallbackTrait;
|
use DestructorCallbackTrait;
|
||||||
|
|
||||||
/** @var ShapedRecipe[][] */
|
/**
|
||||||
|
* @var ShapedRecipe[][]
|
||||||
|
* @phpstan-var array<string, list<ShapedRecipe>>
|
||||||
|
*/
|
||||||
protected $shapedRecipes = [];
|
protected $shapedRecipes = [];
|
||||||
/** @var ShapelessRecipe[][] */
|
/**
|
||||||
|
* @var ShapelessRecipe[][]
|
||||||
|
* @phpstan-var array<string, list<ShapelessRecipe>>
|
||||||
|
*/
|
||||||
protected $shapelessRecipes = [];
|
protected $shapelessRecipes = [];
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -133,6 +139,7 @@ class CraftingManager{
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* @return ShapelessRecipe[][]
|
* @return ShapelessRecipe[][]
|
||||||
|
* @phpstan-return array<string, list<ShapelessRecipe>>
|
||||||
*/
|
*/
|
||||||
public function getShapelessRecipes() : array{
|
public function getShapelessRecipes() : array{
|
||||||
return $this->shapelessRecipes;
|
return $this->shapelessRecipes;
|
||||||
@ -140,6 +147,7 @@ class CraftingManager{
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* @return ShapedRecipe[][]
|
* @return ShapedRecipe[][]
|
||||||
|
* @phpstan-return array<string, list<ShapedRecipe>>
|
||||||
*/
|
*/
|
||||||
public function getShapedRecipes() : array{
|
public function getShapedRecipes() : array{
|
||||||
return $this->shapedRecipes;
|
return $this->shapedRecipes;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user