Clean up widgets and OpenGL gui lighting issues

This commit is contained in:
mezz committed 2015-11-13 23:12:40 -08:00
1 parent 430115a7d4
commit 5f2de3026e
32 files changed
+642 -700

No files matched your search

@@ -11,6 +11,7 @@
package forestry.mail.gui;
import net.minecraft.entity.player.InventoryPlayer;
import net.minecraft.util.StatCollector;
import forestry.core.config.Constants;
import forestry.core.gui.GuiForestry;
@@ -27,7 +28,7 @@ public class GuiTrader extends GuiForestry<ContainerTrader, TileTrader> {
@Override
protected void drawGuiContainerForegroundLayer(int mouseX, int mouseY) {
String name = StringUtil.localizeTile(inventory.getUnlocalizedTitle());
String name = StatCollector.translateToLocal(inventory.getUnlocalizedTitle());
this.fontRendererObj.drawString(name, textLayout.getCenteredOffset(name), 6, fontColor.get("gui.mail.text"));
String receive = StringUtil.localize("gui.mail.receive");