mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-19 11:59:14 +00:00
fix renegeration hearts moving when the game is paused
This commit is contained in:
1 parent
53e0950560
commit
4b40aef354
1 file changed
+1
-1
@@ -34,7 +34,7 @@ public class HealthBarRenderer extends Gui {
|
||||
|
||||
@SubscribeEvent
|
||||
public void onTick(TickEvent.ClientTickEvent event) {
|
||||
if (event.phase == TickEvent.Phase.START) {
|
||||
if (event.phase == TickEvent.Phase.START && !mc.isGamePaused()) {
|
||||
this.updateCounter++;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user