Fixed coal generator background rendering twice. Closes #1462

This commit is contained in:
Flanks255 2024-12-01 19:14:15 -06:00
parent 4bfa6deb2d
commit bb57f30912
2 changed files with 1 additions and 1 deletions

View file

@ -18,6 +18,7 @@
* Fixed the Farmer not making sounds when planting. * Fixed the Farmer not making sounds when planting.
* Overhauled AA crop drop tables to be more in line with 1.12 numbers. * Overhauled AA crop drop tables to be more in line with 1.12 numbers.
* Re-added native right click harvesting to AA crops. * Re-added native right click harvesting to AA crops.
* Fixed coal generator gui having a extra dark background.
# 1.3.10+mc1.21.1 # 1.3.10+mc1.21.1
* Fixed Fluid placer not being harvestable. * Fixed Fluid placer not being harvestable.

View file

@ -43,7 +43,6 @@ public class GuiCoalGenerator extends AAScreen<ContainerCoalGenerator> {
@Override @Override
public void render(@Nonnull GuiGraphics guiGraphics, int mouseX, int mouseY, float partialTicks) { public void render(@Nonnull GuiGraphics guiGraphics, int mouseX, int mouseY, float partialTicks) {
renderBackground(guiGraphics, mouseX, mouseY, partialTicks);
super.render(guiGraphics, mouseX, mouseY, partialTicks); super.render(guiGraphics, mouseX, mouseY, partialTicks);
this.energy.render(guiGraphics, mouseX, mouseY); this.energy.render(guiGraphics, mouseX, mouseY);
renderTooltip(guiGraphics, mouseX, mouseY); renderTooltip(guiGraphics, mouseX, mouseY);