From bb57f30912b9e7c85e18017a01576b43b8bc4fa4 Mon Sep 17 00:00:00 2001 From: Flanks255 <32142731+Flanks255@users.noreply.github.com> Date: Sun, 1 Dec 2024 19:14:15 -0600 Subject: [PATCH] Fixed coal generator background rendering twice. Closes #1462 --- CHANGELOG.md | 1 + .../actuallyadditions/mod/inventory/gui/GuiCoalGenerator.java | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 51b9270e6..9f14de124 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -18,6 +18,7 @@ * Fixed the Farmer not making sounds when planting. * Overhauled AA crop drop tables to be more in line with 1.12 numbers. * Re-added native right click harvesting to AA crops. +* Fixed coal generator gui having a extra dark background. # 1.3.10+mc1.21.1 * Fixed Fluid placer not being harvestable. diff --git a/src/main/java/de/ellpeck/actuallyadditions/mod/inventory/gui/GuiCoalGenerator.java b/src/main/java/de/ellpeck/actuallyadditions/mod/inventory/gui/GuiCoalGenerator.java index d623bd8b8..e2477faca 100644 --- a/src/main/java/de/ellpeck/actuallyadditions/mod/inventory/gui/GuiCoalGenerator.java +++ b/src/main/java/de/ellpeck/actuallyadditions/mod/inventory/gui/GuiCoalGenerator.java @@ -43,7 +43,6 @@ public class GuiCoalGenerator extends AAScreen { @Override public void render(@Nonnull GuiGraphics guiGraphics, int mouseX, int mouseY, float partialTicks) { - renderBackground(guiGraphics, mouseX, mouseY, partialTicks); super.render(guiGraphics, mouseX, mouseY, partialTicks); this.energy.render(guiGraphics, mouseX, mouseY); renderTooltip(guiGraphics, mouseX, mouseY);