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

segmentation fault #10

Open
gcasdfkjs opened this issue Feb 26, 2024 · 1 comment
Open

segmentation fault #10

gcasdfkjs opened this issue Feb 26, 2024 · 1 comment

Comments

@gcasdfkjs
Copy link

"zsh: segmentation fault (core dumped)" after initializing a class instance. Static method works.

@larryTheCoder
Copy link
Member

Before class initialization be made, a static method to register blocks beforehand needs to be called first. You can refer to this function here for more details:
https://github.com/NetherGamesMC/VanillaGenerator/blob/NG/src/muqsit/vanillagenerator/Loader.php#L43-L81

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

No branches or pull requests

2 participants