Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix Figura getting blamed for crashes when other mods failed to load
- Loading branch information
1 parent
44390bc
commit c352a58
Showing
4 changed files
with
35 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
15 changes: 15 additions & 0 deletions
15
common/src/main/java/org/figuramc/figura/mixin/render/PoseStackAccessor.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
package org.figuramc.figura.mixin.render; | ||
|
||
import com.mojang.blaze3d.vertex.PoseStack; | ||
import org.spongepowered.asm.mixin.Final; | ||
import org.spongepowered.asm.mixin.Mixin; | ||
import org.spongepowered.asm.mixin.gen.Accessor; | ||
|
||
import java.util.Deque; | ||
|
||
@Mixin(PoseStack.class) | ||
public interface PoseStackAccessor { | ||
@Accessor("poseStack") | ||
@Final | ||
Deque<PoseStack.Pose> getPoseStack(); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters