Fixed a mixin apply error when starting the game.

This commit is contained in:
Sollace 2019-06-10 23:47:38 +02:00
parent b9b8ba75ea
commit fa3f26172e

View file

@ -16,8 +16,7 @@ public abstract class MixinGlStateManager {
@Inject(method = "setProfile("
+ "Lcom/mojang/blaze3d/platform/GlStateManager$RenderMode;)V",
at = @At("HEAD"),
cancellable = true,
remap = false)
cancellable = true)
private static void enableBlendProfile(GlStateManager.RenderMode profile, CallbackInfo info) {
if (profile == GlStateManager.RenderMode.PLAYER_SKIN && PonySkullRenderer.ponyInstance.usesTransparency()) {
LevitatingItemRenderer.enableItemGlowRenderProfile();