Lythom / capsule

A minecraft mod : Bring your base! Capsules can capture a region containing any blocks or machines, then deploy and undeploy at will. Inspired by Dragon Ball capsules.
MIT License
16 stars 13 forks source link

Crash on 1.19 while rendering preview with fluids #83

Open Xelynega opened 2 years ago

Xelynega commented 2 years ago

Client crashes when trying to place down a capsule with water in it. Game version is 1.19 running all the mods in FTB One 1.3

Steps to reproduce: 1) expand a capsule 2) add water to the capsule area 3) compress the capsule 4) activate the capsule so it tries to generate a preview

From the logs it looks like ifluidstate.getType() is returning the abstract net.minecraft.world.level.Fluid class. Maybe a check to not attempt to render ifluidstates that return this Type could solve the problem.

log.txt