diff --git a/src/main/java/ca/spottedleaf/moonrise/mixin/collisions/LevelMixin.java b/src/main/java/ca/spottedleaf/moonrise/mixin/collisions/LevelMixin.java index 58c48fc1..43865436 100644 --- a/src/main/java/ca/spottedleaf/moonrise/mixin/collisions/LevelMixin.java +++ b/src/main/java/ca/spottedleaf/moonrise/mixin/collisions/LevelMixin.java @@ -1,6 +1,5 @@ package ca.spottedleaf.moonrise.mixin.collisions; -import ca.spottedleaf.moonrise.common.util.WorldUtil; import ca.spottedleaf.moonrise.patches.block_counting.BlockCountingChunkSection; import ca.spottedleaf.moonrise.patches.collisions.CollisionUtil; import ca.spottedleaf.moonrise.patches.collisions.block.CollisionBlockState; @@ -34,15 +33,11 @@ import org.spongepowered.asm.mixin.Mixin; import org.spongepowered.asm.mixin.Shadow; import org.spongepowered.asm.mixin.Unique; -import org.spongepowered.asm.mixin.injection.At; -import org.spongepowered.asm.mixin.injection.Inject; -import org.spongepowered.asm.mixin.injection.callback.CallbackInfo; import java.util.ArrayList; import java.util.List; import java.util.Optional; -// Higher priority to apply after Lithium mixin.world.inline_height.WorldMixin -@Mixin(value = Level.class, priority = 1100) +@Mixin(Level.class) abstract class LevelMixin implements LevelAccessor, AutoCloseable { @Shadow diff --git a/src/main/java/ca/spottedleaf/moonrise/mixin/getblock/LevelMixin.java b/src/main/java/ca/spottedleaf/moonrise/mixin/getblock/LevelMixin.java index 84d46eef..bb75901f 100644 --- a/src/main/java/ca/spottedleaf/moonrise/mixin/getblock/LevelMixin.java +++ b/src/main/java/ca/spottedleaf/moonrise/mixin/getblock/LevelMixin.java @@ -11,7 +11,8 @@ import org.spongepowered.asm.mixin.injection.Inject; import org.spongepowered.asm.mixin.injection.callback.CallbackInfo; -@Mixin(Level.class) +// Higher priority to apply after Lithium mixin.world.inline_height.WorldMixin +@Mixin(value = Level.class, priority = 1100) abstract class LevelMixin implements GetBlockLevel, LevelAccessor, AutoCloseable { @Unique