mirror of
https://github.com/MineLittlePony/MineLittlePony.git
synced 2024-11-29 15:37:59 +01:00
Fixed a mixin apply error when starting the game.
This commit is contained in:
parent
b9b8ba75ea
commit
fa3f26172e
1 changed files with 1 additions and 2 deletions
|
@ -16,8 +16,7 @@ public abstract class MixinGlStateManager {
|
||||||
@Inject(method = "setProfile("
|
@Inject(method = "setProfile("
|
||||||
+ "Lcom/mojang/blaze3d/platform/GlStateManager$RenderMode;)V",
|
+ "Lcom/mojang/blaze3d/platform/GlStateManager$RenderMode;)V",
|
||||||
at = @At("HEAD"),
|
at = @At("HEAD"),
|
||||||
cancellable = true,
|
cancellable = true)
|
||||||
remap = false)
|
|
||||||
private static void enableBlendProfile(GlStateManager.RenderMode profile, CallbackInfo info) {
|
private static void enableBlendProfile(GlStateManager.RenderMode profile, CallbackInfo info) {
|
||||||
if (profile == GlStateManager.RenderMode.PLAYER_SKIN && PonySkullRenderer.ponyInstance.usesTransparency()) {
|
if (profile == GlStateManager.RenderMode.PLAYER_SKIN && PonySkullRenderer.ponyInstance.usesTransparency()) {
|
||||||
LevitatingItemRenderer.enableItemGlowRenderProfile();
|
LevitatingItemRenderer.enableItemGlowRenderProfile();
|
||||||
|
|
Loading…
Reference in a new issue