diff --git a/.gradle/6.0/fileHashes/fileHashes.lock b/.gradle/6.0/fileHashes/fileHashes.lock index 87c186a7..6807a1fd 100644 Binary files a/.gradle/6.0/fileHashes/fileHashes.lock and b/.gradle/6.0/fileHashes/fileHashes.lock differ diff --git a/.gradle/buildOutputCleanup/buildOutputCleanup.lock b/.gradle/buildOutputCleanup/buildOutputCleanup.lock index 9ac50e84..f8132177 100644 Binary files a/.gradle/buildOutputCleanup/buildOutputCleanup.lock and b/.gradle/buildOutputCleanup/buildOutputCleanup.lock differ diff --git a/src/main/java/net/minecraft/client/gui/GuiIngame.java b/src/main/java/net/minecraft/client/gui/GuiIngame.java index f31d6013..12d27cf5 100644 --- a/src/main/java/net/minecraft/client/gui/GuiIngame.java +++ b/src/main/java/net/minecraft/client/gui/GuiIngame.java @@ -13,6 +13,8 @@ import com.google.common.collect.Iterables; import com.google.common.collect.Lists; import dev.resent.Resent; +import dev.resent.ui.mods.HUDConfigScreen; +import dev.resent.util.misc.W; import net.lax1dude.eaglercraft.v1_8.opengl.GlStateManager; import net.lax1dude.eaglercraft.v1_8.opengl.WorldRenderer; import net.minecraft.block.material.Material; @@ -290,7 +292,7 @@ public class GuiIngame extends Gui { ScoreObjective scoreobjective1 = scoreobjective != null ? scoreobjective : scoreboard.getObjectiveInDisplaySlot(1); - if (scoreobjective1 != null) { + if (scoreobjective1 != null && W.scoreboard().isEnabled()) { this.renderScoreboard(scoreobjective1, scaledresolution); } @@ -315,7 +317,9 @@ public class GuiIngame extends Gui { this.overlayPlayerList.renderPlayerlist(i, scoreboard, scoreobjective1); } - Resent.INSTANCE.modManager.renderMods(); + if(!(mc.currentScreen instanceof HUDConfigScreen)){ + Resent.INSTANCE.modManager.renderMods(); + } GlStateManager.color(1.0F, 1.0F, 1.0F, 1.0F); GlStateManager.disableLighting(); GlStateManager.enableAlpha();