-
Notifications
You must be signed in to change notification settings - Fork 54
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
Server crashes on load block #96
Comments
you have to create a new id everytime you make a new block, by every new instance just add $id = BlockTypeIds::newId(); Otherwise you will register the blocks with the same $Id variable, do you understand? if not here is example $id = 1; registerBlock($id (which = 1)) registering a new block with same $id variable registerBlock($id (which = 1)) then you get that error so just create new $Id variable above the instance of registering the block $id = 1; registerBlock($id (which = 1)) $id = 2; registerBlock($id (which = 2)) |
That's what I do, but it doesn't change anything. |
$id is only for the first block, after $id2, etc. |
same problem as mine |
Hello, I've had this crash for a few days and I can't find the cause. It happens about 1 out of every 3 reboots, with the same ID and block.
And apparently, I'm not the only one this happens to, according to a reply I got on the discord.
Thanks!
The text was updated successfully, but these errors were encountered: