PaperMC / Starlight

Rewrites the light engine to fix lighting performance and lighting errors
Other
1.27k stars 136 forks source link

[Forge][1.18.1] Crash with Create/Flywheel #115

Closed dierks-m closed 2 years ago

dierks-m commented 2 years ago

Issue Description

On the new version of Create (v0.4b) with Flywheel (v0.5.0a) running on Forge 39.0.9 a moving contraption (e.g. a piston) will cause the game to crash when it tries to move (this is on an existing world). After testing, this will already occur when trying to place down the piston. Crash Report Here Last part of stack trace: Caused by: java.lang.ClassCastException: class com.jozufozu.flywheel.core.virtual.VirtualEmptyBlockGetter cannot be cast to class net.minecraft.world.level.Level (com.jozufozu.flywheel.core.virtual.VirtualEmptyBlockGetter is in module flywheel@1.18-0.5.0a of loader 'TRANSFORMER' @4248b963; net.minecraft.world.level.Level is in module minecraft@1.18.1 of loader 'TRANSFORMER' @4248b963) at ca.spottedleaf.starlight.common.light.StarLightInterface.<init>(StarLightInterface.java:62) ~[starlight-1.0.0+forge.4fd2e63.jar%2354!:1.0.0+forge.4fd2e63] {re:mixin,re:classloading}

Reproduction Steps

Using an instance with those three mods, already trying to place down the piston will crash the game.

AeiouEnigma commented 2 years ago

This is fixed for the next release of Starlight, which is being delayed until the next release of Create, as there are issues on both sides that impede compatibility.

In the meantime, you can download my builds of Create and Starlight which incorporate these fixes.

dierks-m commented 2 years ago

Alright, thanks!