Expected result: What were you expecting to happen?
Actual result: What actually happened?
Steps to reproduce the issue
public Config $data;
public $db;
$this->data = new Config($this->getDataFolder(). "T..yml",Config::YAML, []);
$this->db = $this->data->getAll();
The driver is using the latest beta 5.0.
The config is saved, but the scoreboard does not work and no error code appears.
and RuntimeBlockStateRegistry::getInstance()->register(new FarmLand(new BlockIdentifier(BlockTypeIds::FARMLAND), "Farmlands", new BlockTypeInfo(VanillaBlocks::FARMLAND()->getBreakInfo())), true); When using the code, the block ID conflicts.
OS and versions
PocketMine-MP:
PHP: 8.2
Using JIT: yes/no (delete as appropriate)
Server OS: Wim10
Game version: Android/iOS/Win10/Xbox/PS4/Switch (delete as appropriate)
Plugins
If you remove all plugins, does the issue still occur?
If the issue is not reproducible without plugins:
Have you asked for help on our forums before creating an issue?
Can you provide sample, minimal reproducing code for the issue? If so, paste it in the bottom section
Issue description
Steps to reproduce the issue
public Config $data; public $db; $this->data = new Config($this->getDataFolder(). "T..yml",Config::YAML, []); $this->db = $this->data->getAll(); The driver is using the latest beta 5.0. The config is saved, but the scoreboard does not work and no error code appears. and RuntimeBlockStateRegistry::getInstance()->register(new FarmLand(new BlockIdentifier(BlockTypeIds::FARMLAND), "Farmlands", new BlockTypeInfo(VanillaBlocks::FARMLAND()->getBreakInfo())), true); When using the code, the block ID conflicts.
OS and versions
Plugins
Crashdump, backtrace or other files