-
Notifications
You must be signed in to change notification settings - Fork 7
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
最大方块交互距离更改时交互了两次 #46
Labels
Comments
但是还有一个小问题,在世界最高处以上放置方块时,会显示一条世界高度限制是319的警告信息,但是修改了交互距离后这条警告没有了 |
这应该不是一个值得注意的问题我感觉,因为建筑高度本身就是319,你怎么看。🤔 |
不想改就算了,毕竟这个bug并不严重 |
目前没有,估计以后也不会有 |
那我暂时先不动了,虽然它有兼容性上的问题但是我感觉这里用 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Bug description
最大方块交互距离启用时,拿着刷怪蛋点一下地面,生成了两只生物
Steps to reproduce
1.拿一个刷怪蛋
2.将最大方块交互距离改成一个较大值(最好大于6)
3.拿刷怪蛋点一下近处的地面
或
1.找到一个活板门方块
2.点击一下活板门
Expected behavior
生成一只生物
或
活板门打开
Actual behavior
生成了两只生物
或
活板门打开后立即关闭
Relevant logs
No response
Minecraft version
1.20.1
TemplateMod version
Carpet-AMS-Addition v2.14.1
Other information
解决方案:
interactBlock()方法调用了两次,一次是距离小于64.0时正常调用的,另一次是距离小于AmsServerSettings.maxBlockInteractionDistance时调用的
Check list
The text was updated successfully, but these errors were encountered: