Hi, Today i try to build my own version of PocketMine - It worked! Then I try to exporiment with some thinks... I edit something - It worked! But if i add new block class it will not Load it :/ Simple: - I try to build custom PocketMine - After adding new class it doesn't load
Code: 2020-11-26 Server > Loading server configuration 2020-11-26 Server > Vybrána Čeština (cze) jako základní jazyk 2020-11-26 Server > Error: "Class 'pocketmine\block\NetheriteBlock' not found" (EXCEPTION) in "src/block/BlockFactory" at line 133 2020-11-26 Server > #0 src/utils/SingletonTrait(31): pocketmine\block\BlockFactory->__construct() 2020-11-26 Server > #1 src/utils/SingletonTrait(36): pocketmine\block\BlockFactory::make() 2020-11-26 Server > #2 src/block/VanillaBlocks(650): pocketmine\block\BlockFactory::getInstance() 2020-11-26 Server > #3 src/utils/RegistryTrait(62): pocketmine\block\VanillaBlocks::setup() 2020-11-26 Server > #4 src/utils/RegistryTrait(70): pocketmine\block\VanillaBlocks::checkInit() 2020-11-26 Server > #5 src/utils/RegistryTrait(94): pocketmine\block\VanillaBlocks::_registryFromString(string[11] ACACIA_DOOR) 2020-11-26 Server > #6 src/item/ItemFactory(177): pocketmine\block\VanillaBlocks::__callStatic(string[11] ACACIA_DOOR, array[0]) 2020-11-26 Server > #7 src/utils/SingletonTrait(31): pocketmine\item\ItemFactory->__construct() 2020-11-26 Server > #8 src/utils/SingletonTrait(36): pocketmine\item\ItemFactory::make() 2020-11-26 Server > #9 src/item/Item(619): pocketmine\item\ItemFactory::getInstance() 2020-11-26 Server > #10 (): pocketmine\item\Item::jsonDeserialize(array[2]) 2020-11-26 Server > #11 src/crafting/CraftingManagerFromDataHelper(49): array_map(object Closure, array[1]) 2020-11-26 Server > #12 src/Server(938): pocketmine\crafting\CraftingManagerFromDataHelper::make(string[99] phar://C:/Users/Administrator/Desktop/AstroGames/PocketMine-MP.phar/resources//v) 2020-11-26 Server > #13 src/PocketMine(246): pocketmine\Server->__construct(object BaseClassLoader, object pocketmine\utils\MainLogger, string[42] C:\Users\Administrator\Desktop\AstroGames\, string[50] C:\Users\Administrator\Desktop\AstroGames\plugins\) 2020-11-26 Server > #14 src/PocketMine(271): pocketmine\server() 2020-11-26 Server > #15 (11): require(string[86] phar://C:/Users/Administrator/Desktop/AstroGames/PocketMine-MP.phar/src/PocketMi) 2020-11-26 Server > An unrecoverable error has occurred and the server has crashed. Creating a crash dump 2020-11-26 Server > Please upload the "C:\Users\Administrator\Desktop\AstroGames\crashdumps/Thu_Nov_26-10.59.17-GMT_2020.log" file to the Crash Archive and submit the link to the Bug Reporting page. Give as much info as you can.
The error says it here: This means I couldn't find the file NetheriteBlock This can mean several things: - The file NetheriteBlock doest exist - You have not specified correctly where it is - You have not given the correct name to the file