Skip to content

Commit

Permalink
Merge pull request #117
Browse files Browse the repository at this point in the history
Hide Entropy's overlay when the F3 debug screen is rendered
  • Loading branch information
juancarloscp52 authored Mar 25, 2023
2 parents d8ed01c + 4df7fcf commit 5619a0c
Showing 1 changed file with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -90,15 +90,19 @@ public void tick(short eventCountDown) {
}

public void render(MatrixStack matrixStack, float tickdelta) {

// Render active event effects
currentEvents.forEach(event -> {
if (!event.hasEnded() && !client.player.isSpectator())
event.render(matrixStack, tickdelta);
});

MinecraftClient client = MinecraftClient.getInstance();

if (client.options.debugEnabled)
return;

double time = timerDuration - eventCountDown;
int width = MinecraftClient.getInstance().getWindow().getScaledWidth();
int width = client.getWindow().getScaledWidth();

// Render timer bar
/// Only the timer is differentiated in two declination for now but
Expand Down

0 comments on commit 5619a0c

Please sign in to comment.