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

楼梯崩溃问题 #2

Open
Grass-block opened this issue Jan 31, 2024 · 0 comments
Open

楼梯崩溃问题 #2

Grass-block opened this issue Jan 31, 2024 · 0 comments

Comments

@Grass-block
Copy link

本模组在1.18.2时放置楼梯会导致崩溃问题。
初步调试发现是BlockGlassStair类的构造方法向父类传入Supplier时在lambda中重复初始化Block对象导致重复注册冻结的方块注册表导致的
解决方案是让lambda固定返回Blocks.STONE.defaultState();
另外,这里是我的一个1.18.2移植:
链接

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

1 participant