mirror of
https://github.com/Ellpeck/ActuallyAdditions.git
synced 2024-11-26 08:48:34 +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;
|
package de.ellpeck.actuallyadditions.mod.util;
|
||||||
|
|
||||||
import de.ellpeck.actuallyadditions.mod.booklet.GuiBooklet;
|
|
||||||
import net.minecraft.block.Block;
|
import net.minecraft.block.Block;
|
||||||
import net.minecraft.client.Minecraft;
|
import net.minecraft.client.Minecraft;
|
||||||
import net.minecraft.client.gui.FontRenderer;
|
import net.minecraft.client.gui.FontRenderer;
|
||||||
|
@ -79,11 +78,7 @@ public class AssetUtil{
|
||||||
Minecraft.getMinecraft().getRenderItem().renderItemOverlayIntoGUI(mc.fontRendererObj, stack, 0, 0, null);
|
Minecraft.getMinecraft().getRenderItem().renderItemOverlayIntoGUI(mc.fontRendererObj, stack, 0, 0, null);
|
||||||
mc.fontRendererObj.setUnicodeFlag(flagBefore);
|
mc.fontRendererObj.setUnicodeFlag(flagBefore);
|
||||||
|
|
||||||
//TODO I don't think this is needed anymore, but I need to check that
|
RenderHelper.disableStandardItemLighting();
|
||||||
//GL+MC+NEI suck
|
|
||||||
if(mc.currentScreen instanceof GuiBooklet || mc.currentScreen == null){
|
|
||||||
RenderHelper.disableStandardItemLighting();
|
|
||||||
}
|
|
||||||
GlStateManager.popMatrix();
|
GlStateManager.popMatrix();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue