fixed flat world config shading
This commit is contained in:
parent
d485333c33
commit
876e8b1a35
13944
javascript/classes.js
13944
javascript/classes.js
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -21,8 +21,10 @@ class GuiCreateFlatWorldListSlot extends GuiSlot {
|
|||
|
||||
if (par3ItemStack != null) {
|
||||
RenderHelper.enableGUIStandardItemLighting();
|
||||
EaglerAdapter.flipLightMatrix();
|
||||
GuiCreateFlatWorld.getRenderItem().renderItemIntoGUI(this.createFlatWorldGui.fontRenderer,
|
||||
this.createFlatWorldGui.mc.renderEngine, par3ItemStack, par1 + 2, par2 + 2);
|
||||
EaglerAdapter.flipLightMatrix();
|
||||
RenderHelper.disableStandardItemLighting();
|
||||
}
|
||||
|
||||
|
|
|
@ -18,8 +18,10 @@ class GuiFlatPresetsListSlot extends GuiSlot {
|
|||
this.func_82456_d(par1 + 1, par2 + 1);
|
||||
EaglerAdapter.glEnable(EaglerAdapter.GL_RESCALE_NORMAL);
|
||||
RenderHelper.enableGUIStandardItemLighting();
|
||||
EaglerAdapter.flipLightMatrix();
|
||||
GuiFlatPresets.getPresetIconRenderer().renderItemIntoGUI(this.flatPresetsGui.fontRenderer,
|
||||
this.flatPresetsGui.mc.renderEngine, new ItemStack(par3, 1, 0), par1 + 2, par2 + 2);
|
||||
EaglerAdapter.flipLightMatrix();
|
||||
RenderHelper.disableStandardItemLighting();
|
||||
EaglerAdapter.glDisable(EaglerAdapter.GL_RESCALE_NORMAL);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user