Glowcase

Glowcase

11k Downloads

Crash when placing text block

LemmaEOF opened this issue ยท 3 comments

commented

https://paste.ee/p/GxFdK

discovered by quat on modfest 1.17 server

commented

I cannot reproduce this with just Glowcase (as of 6fb3624) btw, even when connecting to a local server, so it's either "something in the modfest pack" or a case of "only works in-dev"

commented

A couple rounds of filebisect (https://github.com/comp500/filebisect) confirm it's caused by Lithium. The version in the Modfest pack is lithium-fabric-mc1.17.1-0.7.3.

commented

Glowcase reads directly from the heldItem field of EntityShapeContext. However, Lithium makes some of the fields in EntityShapeContext lazy, including heldItem: https://github.com/CaffeineMC/lithium-fabric/blob/1.17.x/dev/src/main/java/me/jellysquid/mods/lithium/mixin/shapes/lazy_shape_context/EntityShapeContextMixin.java