mirror of
https://github.com/GTNewHorizons/ForestryMC.git
synced 2026-11-20 12:09:39 +00:00
First 1.8.9 Version
This commit is contained in:
1 parent
d35cc1df09
commit
5a3850c264
1657 files changed
+26844
-13269
No files matched your search
@@ -43,7 +43,7 @@ public class GuiMailboxInfo extends Gui {
|
||||
private final ResourceLocation textureAlert = new ForestryResource(Constants.TEXTURE_PATH_GUI + "/mailalert.png");
|
||||
|
||||
private GuiMailboxInfo() {
|
||||
fontRendererObj = Proxies.common.getClientInstance().fontRenderer;
|
||||
fontRendererObj = Proxies.common.getClientInstance().fontRendererObj;
|
||||
}
|
||||
|
||||
public void render() {
|
||||
@@ -55,7 +55,7 @@ public class GuiMailboxInfo extends Gui {
|
||||
int y = 0;
|
||||
|
||||
Minecraft minecraft = Minecraft.getMinecraft();
|
||||
ScaledResolution scaledresolution = new ScaledResolution(minecraft, minecraft.displayWidth, minecraft.displayHeight);
|
||||
ScaledResolution scaledresolution = new ScaledResolution(minecraft);
|
||||
if (Config.mailAlertXPosition == XPosition.RIGHT) {
|
||||
x = scaledresolution.getScaledWidth() - WIDTH;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user