mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-05-14 17:59:41 +00:00
ItemFactory: add getAllRegistered()
This commit is contained in:
parent
c1a7d86670
commit
2eb498b84c
@ -485,4 +485,8 @@ class ItemFactory{
|
|||||||
}
|
}
|
||||||
return (($id & 0xffff) << 16) | ($variant & 0xffff);
|
return (($id & 0xffff) << 16) | ($variant & 0xffff);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public static function getAllRegistered() : array{
|
||||||
|
return self::$list;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user