mirror of
https://github.com/GTNewHorizons/ForestryMC.git
synced 2026-11-22 12:59:44 +00:00
Clean up widgets and OpenGL gui lighting issues
This commit is contained in:
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");
|
||||
|
||||
Reference in new issue
Block a user