Raise priority of collisions LevelMixin to apply after Lithium

Lithium replaces some of the height-related methods used by WorldUtil to return fields initialized in their constructor hook. We need to apply afterward to have them return valid data.

Given the application-order sensitive nature of the issue, it only presented in-dev.
This commit is contained in:
Jason Penilla
2024-09-15 13:36:29 -07:00
parent 453b635ef2
commit cfa80c4488

View File

@@ -39,7 +39,8 @@ import java.util.ArrayList;
import java.util.List;
import java.util.Optional;
@Mixin(Level.class)
// Higher priority to apply after Lithium mixin.world.inline_height.WorldMixin
@Mixin(value = Level.class, priority = 1100)
abstract class LevelMixin implements CollisionLevel, LevelAccessor, AutoCloseable {
@Shadow