From dfbd451fdb4db2c33d869545dcbeea0e98e5bb47 Mon Sep 17 00:00:00 2001 From: IThundxr Date: Wed, 10 Jul 2024 13:04:42 -0400 Subject: [PATCH] 1.21 Port V --- .../engine_room/flywheel/impl/mixin/LevelRendererMixin.java | 6 ------ 1 file changed, 6 deletions(-) diff --git a/common/src/main/java/dev/engine_room/flywheel/impl/mixin/LevelRendererMixin.java b/common/src/main/java/dev/engine_room/flywheel/impl/mixin/LevelRendererMixin.java index 3fe10e5d4..a2afcb78e 100644 --- a/common/src/main/java/dev/engine_room/flywheel/impl/mixin/LevelRendererMixin.java +++ b/common/src/main/java/dev/engine_room/flywheel/impl/mixin/LevelRendererMixin.java @@ -13,7 +13,6 @@ import org.spongepowered.asm.mixin.injection.At; import org.spongepowered.asm.mixin.injection.At.Shift; import org.spongepowered.asm.mixin.injection.Group; import org.spongepowered.asm.mixin.injection.Inject; -import org.spongepowered.asm.mixin.injection.Redirect; import org.spongepowered.asm.mixin.injection.callback.CallbackInfo; import com.llamalad7.mixinextras.sugar.Share; @@ -61,11 +60,6 @@ abstract class LevelRendererMixin { FlwImplXplat.INSTANCE.dispatchBeginFrameEvent(flywheel$renderContext); } - @Redirect(method = "renderLevel", at = @At(value = "NEW", target = "()Lcom/mojang/blaze3d/vertex/PoseStack;")) - private PoseStack flywheel$fixPoseStack(@Share("flywheel$poseStack") LocalRef poseStack) { - return poseStack.get(); - } - @Inject(method = "renderLevel", at = @At("RETURN")) private void flywheel$endRender(CallbackInfo ci) { flywheel$renderContext = null;