Skip to content

[Bug] 疑似多人服务器环境下计算温度的方块会出现转型问题 #156

@NEFirefox

Description

@NEFirefox

Error Behaviour

崩服,扔出java.lang.RuntimeException: java.lang.ClassCastException: class net.minecraft.world.phys.Vec3 cannot be cast to class net.minecraft.core.BlockPos (net.minecraft.world.phys.Vec3 and net.minecraft.core.BlockPos are in module minecraft@1.20.1 of loader 'TRANSFORMER' @9c73fff)

Expected Behaviour

查询一下这个神必的SurroundingTemperatureSimulator.java
我怀疑里头有些什么神必的线程和线程抢对象的环节
毕竟你包的温度检测居然是1gametick检测一次
我怀疑是你们给generator new在了外头成了全局对象整的活

Reproduce

1.多搞几个人
2.像我一样,挖了十几个烧窑的坑
3.像我一样,感觉一个营火不够快,做了4个一起跑
4.至少有两个人在这旁边收东西
5.服务器已关闭

Crash Report

https://mclo.gs/E7Crw1B

Modpack version

0.6.0-rc8

Server version

forge-1.20.1-47.4.10

Other mods and plugins

希望这里还有活人

Metadata

Metadata

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions