mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-06-12 14:35:35 +00:00
populate missing array value types in item namespace
This commit is contained in:
parent
4c36ca58e2
commit
3b9a5c5ccc
@ -140,6 +140,9 @@ class Item implements ItemIds, \JsonSerializable{
|
|||||||
Item::$creative = [];
|
Item::$creative = [];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return Item[]
|
||||||
|
*/
|
||||||
public static function getCreativeItems() : array{
|
public static function getCreativeItems() : array{
|
||||||
return Item::$creative;
|
return Item::$creative;
|
||||||
}
|
}
|
||||||
|
@ -41,6 +41,9 @@ class EnchantmentEntry{
|
|||||||
$this->randomName = $randomName;
|
$this->randomName = $randomName;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return Enchantment[]
|
||||||
|
*/
|
||||||
public function getEnchantments() : array{
|
public function getEnchantments() : array{
|
||||||
return $this->enchantments;
|
return $this->enchantments;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user