mirror of
https://github.com/Ellpeck/ActuallyAdditions.git
synced 2024-12-23 03:49:22 +01:00
I checked that
This commit is contained in:
parent
cb9db8b4f2
commit
98299708d5
1 changed files with 1 additions and 6 deletions
|
@ -10,7 +10,6 @@
|
|||
|
||||
package de.ellpeck.actuallyadditions.mod.util;
|
||||
|
||||
import de.ellpeck.actuallyadditions.mod.booklet.GuiBooklet;
|
||||
import net.minecraft.block.Block;
|
||||
import net.minecraft.client.Minecraft;
|
||||
import net.minecraft.client.gui.FontRenderer;
|
||||
|
@ -79,11 +78,7 @@ public class AssetUtil{
|
|||
Minecraft.getMinecraft().getRenderItem().renderItemOverlayIntoGUI(mc.fontRendererObj, stack, 0, 0, null);
|
||||
mc.fontRendererObj.setUnicodeFlag(flagBefore);
|
||||
|
||||
//TODO I don't think this is needed anymore, but I need to check that
|
||||
//GL+MC+NEI suck
|
||||
if(mc.currentScreen instanceof GuiBooklet || mc.currentScreen == null){
|
||||
RenderHelper.disableStandardItemLighting();
|
||||
}
|
||||
RenderHelper.disableStandardItemLighting();
|
||||
GlStateManager.popMatrix();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue