Custom culling shape handler triggers NPE after ViaFabricPlus protocol version change
EienMiku opened this issue · 1 comments
Description
MoreCulling 1.3.0’s mixin for AbstractBlockState.customCullingShape runs before the model manager is fully initialized when ViaFabricPlus’s target version has been modified, causing a NullPointerException in combination with ViaFabricPlus 4.1.2.
Reproduction Steps
- Install Minecraft 1.21.5 + Fabric 0.16.14 + Fabric API 0.121.0 + Cloth Config API 18.0.145 + MoreCulling 1.3.0 + ViaFabricPlus 4.1.2.
- Launch the game once—initial startup completes fine.
- Change ViaFabricPlus’s target protocol version to
1.21 - 1.21.1. - Exit the game.
- Relaunch the game—crash occurs in
initShapeCache.
Log File
Dupe #369