mirror of
https://github.com/MineLittlePony/MineLittlePony.git
synced 2024-11-25 22:07: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("
|
||||
+ "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();
|
||||
|
|
Loading…
Reference in a new issue