maruohon / litematica

A modern client-side schematic mod for Minecraft
GNU Lesser General Public License v3.0
728 stars 219 forks source link

[Bug] 1.18.2 Litematica crashing on server join #651

Open Fnige opened 1 year ago

Fnige commented 1 year ago

Minecaft: 1.18.2 Fabric: 0.14.12 Litematica: 0.11.5 MaLiLib: 0.12.1

On joining the server, litematica seems to make the game crash. This does not happen on singleplayer

Crashlog: https://mclo.gs/71cgDKT

maruohon commented 1 year ago

This is that issue where some other mod throws an exception while joining the server, preventing Litematica's world join code from running, which is supposed to among other things create the schematic world. The 1.19+ versions have a workaround for this, basically lazy initializing the schematic world when it's fetched and hasn't been created yet.

But the underlying problem of some mod throwing the exception and preventing Litematica's world join code from running, might also cause other issues like preventing malilib from reading all the mod configs from file, which would result in a config wipe.