Skip to content
This repository has been archived by the owner on Dec 24, 2023. It is now read-only.

Commit

Permalink
1.1.1
Browse files Browse the repository at this point in the history
Fixes a bug where you couldn't see the hud in the hud config
  • Loading branch information
Wyvest committed Apr 4, 2021
1 parent 3e7e0ae commit b182b7b
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
7 changes: 3 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
# forge-mod-template
so that i can rest in peace
# Timer Mod

includes modcore, tgmlib, and jsontgm
A mod that allows you to toggle a timer.

credit to MatthewTGM for some parts of the template
Credits to 1fxe for the HUD code.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ buildscript {
}
apply plugin: 'net.minecraftforge.gradle.forge'

version = "1.1.0"
version = "1.1.1"
group= "net.wyvest.timer"
archivesBaseName = "Timer Mod"

Expand Down
2 changes: 1 addition & 1 deletion src/main/java/net/wyvest/timer/listener/TimerListener.java
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public void worldSwap(WorldEvent.Unload event) {
@SubscribeEvent
public void onRender(RenderGameOverlayEvent.Post event) {
if (event.type != RenderGameOverlayEvent.ElementType.EXPERIENCE) return;
if (TimerConfig.modToggled && Minecraft.getMinecraft().currentScreen == null) {
if (TimerConfig.modToggled) {
UI.drawTimer(secondsPassed);
}
}
Expand Down

0 comments on commit b182b7b

Please sign in to comment.