Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Block ID is already used by another block #426

Open
Nat392 opened this issue Oct 7, 2023 · 5 comments · May be fixed by #419
Open

Block ID is already used by another block #426

Nat392 opened this issue Oct 7, 2023 · 5 comments · May be fixed by #419

Comments

@Nat392
Copy link

Nat392 commented Oct 7, 2023

Hello,

There seems to be a small problem on 3 out of 3 startups due to Customies conflicting with one of your codes.

Thread: AsyncWorker#1
Error: Block ID 10811 is already used by another block
File: pmsrc/src/block/RuntimeBlockStateRegistry
Line: 93
Type: InvalidArgumentException
Backtrace:
#0 /home/container/plugins/Customies/src/block/CustomiesBlockFactory(88): pocketmine\block\RuntimeBlockStateRegistry->register(object DaPigGuy\PiggyCustomEnchants\blocks\PiggyObsidianBlock#153761)
#1 /home/container/plugins/Customies/src/task/AsyncRegisterBlocksTask(39): customiesdevs\customies\block\CustomiesBlockFactory->registerBlock(object Closure#171059, string[28] piggyce:magmawalker_obsidian, null, null, object Closure#153767, object Closure#153768)
#2 pmsrc/src/scheduler/AsyncTask(82): customiesdevs\customies\task\AsyncRegisterBlocksTask->onRun()
#3 (): pocketmine\scheduler\AsyncTask->run()

@Nat392
Copy link
Author

Nat392 commented Oct 7, 2023

With PiggyObsidianBlock

@SillierShark195

This comment was marked as off-topic.

@Aericio Aericio linked a pull request Oct 7, 2023 that will close this issue
@Aericio
Copy link
Collaborator

Aericio commented Oct 7, 2023

Meh DavyCraft648/MCFurniture#11, pretty sure we're registering the correct way too.

I guess if registration fails then I'll just disable the enchant.

@Aericio Aericio changed the title Bug with Customies Block ID is already used by another block Oct 7, 2023
@Aericio
Copy link
Collaborator

Aericio commented Oct 7, 2023

Wait on https://github.com/pmmp/PocketMine-MP/issues/6062

@nicholass003
Copy link

@OrBuilder can you test it without other plugins ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants