HimmelKreis4865 / IronChests

The PocketMine-MP version of the original Minecraft Java Mod that adds chests with more space
5 stars 0 forks source link

BUG #1

Closed Frosxc closed 2 months ago

Frosxc commented 2 months ago

InvalidArgumentException: "Block ID 10850 is already used by another block" (EXCEPTION) in "pmsrc/src/block/RuntimeBlockStateRegistry" at line 93 --- Stack trace ---

0 /home/container/plugins/Customies_dev-59 (5).phar/src/block/CustomiesBlockFactory(91): pocketmine\block\RuntimeBlockStateRegistry->register(object HimmelKreis4865\IronChests\block\ChestBlock#132882)

1 /home/container/plugins/Customies_dev-59 (5).phar/src/task/AsyncRegisterBlocksTask(39): customiesdevs\customies\block\CustomiesBlockFactory->registerBlock(object Closure#132450, string[24] iron_chests:copper_chest, null, null, object Closure#132449, object Closure#132890)

2 pmsrc/src/scheduler/AsyncTask(81): customiesdevs\customies\task\AsyncRegisterBlocksTask->onRun()

3 (): pocketmine\scheduler\AsyncTask->run()

--- End of exception information --- [02:05:58.091] [Server thread/CRITICAL]: pocketmine\thread\ThreadCrashException: "Worker 1 crashed while running task customiesdevs\customies\task\AsyncRegisterBlocksTask#1087434" (EXCEPTION) in "pmsrc/src/scheduler/AsyncPool" at line 226 --- Stack trace ---

0 pmsrc/src/scheduler/AsyncPool(266): pocketmine\scheduler\AsyncPool->checkCrashedWorker(int 1, object customiesdevs\customies\task\AsyncRegisterBlocksTask#1087434)

HimmelKreis4865 commented 2 months ago

do you have any other plugins installed that also use customies?

HimmelKreis4865 commented 2 months ago

I am not able to reproduce this error even with other plugins enabled also using customies - how did you get this error? i need a more detailed instruction please

Frosxc commented 2 months ago

yeah i have nether reactor and furniture plugin

Frosxc commented 2 months ago

when I start the server sometimes there is an error sometimes it can

HimmelKreis4865 commented 2 months ago

did a commit, please check if this is fixed now

Frosxc commented 2 months ago

thanks

Frosxc commented 2 months ago

Enabling IronChests v1.0.0 [08:07:23.217] [Server thread/CRITICAL]: InvalidArgumentException: "Class himmelkreis4865\IronChests\item\WoodIronUpgrade does not exist or is not a class" (EXCEPTION) in "pmsrc/src/utils/Utils" at line 548 --- Stack trace ---

0 plugins/Customies_dev-59 (5).phar/src/item/CustomiesItemFactory(71): pocketmine\utils\Utils::testValidInstance(string[47] himmelkreis4865\IronChests\item\WoodIronUpgrade, string[20] pocketmine\item\Item)

1 plugins/IronChests_dev-5.phar/src/HimmelKreis4865/IronChests/IronChests(201): customiesdevs\customies\item\CustomiesItemFactory->registerItem(string[47] himmelkreis4865\IronChests\item\WoodIronUpgrade, string[29] iron_chests:wood_iron_upgrade, string[17] wood_iron_upgrade)

2 plugins/IronChests_dev-5.phar/src/HimmelKreis4865/IronChests/IronChests(110): HimmelKreis4865\IronChests\IronChests->registerUpgradeShard(string[17] wood_iron_upgrade, string[26] Wood To Iron Chest Upgrade, string[47] himmelkreis4865\IronChests\item\WoodIronUpgrade, object pocketmine\crafting\ExactRecipeIngredient#7649, object pocketmine\crafting\TagWildcardRecipeIngredient#7148)

3 pmsrc/src/plugin/PluginBase(119): HimmelKreis4865\IronChests\IronChests->onEnable()

4 pmsrc/src/plugin/PluginManager(454): pocketmine\plugin\PluginBase->onEnableStateChange(true)

5 pmsrc/src/Server(1404): pocketmine\plugin\PluginManager->enablePlugin(object HimmelKreis4865\IronChests\IronChests#50685)

6 pmsrc/src/Server(1035): pocketmine\Server->enablePlugins(object pocketmine\plugin\PluginEnableOrder#50296)

7 pmsrc/src/PocketMine(355): pocketmine\Server->__construct(object pocketmine\thread\ThreadSafeClassLoader#6, object pocketmine\utils\MainLogger#2, string[16] /home/container/, string[24] /home/container/plugins/)

8 pmsrc/src/PocketMine(378): pocketmine\server()

9 /home/container/PocketMine-MP.phar(168): require(string[72] phar:///tmp/PocketMine-MP-phar-cache.0/PMMPWNR5K8.tar/src/PocketMine.php)

--- End of exception information ---

when i start server

HimmelKreis4865 commented 2 months ago

should be fixed now - weirdly, this only happens when using phars

Frosxc commented 2 months ago

thanks you so much