mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-04-22 16:51:42 +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 = [];
|
||||
}
|
||||
|
||||
/**
|
||||
* @return Item[]
|
||||
*/
|
||||
public static function getCreativeItems() : array{
|
||||
return Item::$creative;
|
||||
}
|
||||
|
@ -41,6 +41,9 @@ class EnchantmentEntry{
|
||||
$this->randomName = $randomName;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return Enchantment[]
|
||||
*/
|
||||
public function getEnchantments() : array{
|
||||
return $this->enchantments;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user