mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-06 01:46:04 +00:00
Moved JSON blobs to submodule
This commit is contained in:
@ -119,7 +119,7 @@ class Item implements ItemIds, \JsonSerializable{
|
||||
public static function initCreativeItems(){
|
||||
self::clearCreativeItems();
|
||||
|
||||
$creativeItems = new Config(\pocketmine\RESOURCE_PATH . "creativeitems.json", Config::JSON, []);
|
||||
$creativeItems = new Config(\pocketmine\RESOURCE_PATH . "vanilla" . DIRECTORY_SEPARATOR . "creativeitems.json", Config::JSON, []);
|
||||
|
||||
foreach($creativeItems->getAll() as $data){
|
||||
$item = Item::jsonDeserialize($data);
|
||||
|
Reference in New Issue
Block a user