From fe3449248bb556779fc1ef8ee216efeda43e8592 Mon Sep 17 00:00:00 2001 From: Soopyboo32 <49228220+Soopyboo32@users.noreply.github.com> Date: Sun, 23 Jan 2022 22:21:23 +0800 Subject: add error handling to registering forge event, and other fixes and cleanups --- features/hud/index.js | 1 + 1 file changed, 1 insertion(+) (limited to 'features/hud') diff --git a/features/hud/index.js b/features/hud/index.js index a72f850..39b41db 100644 --- a/features/hud/index.js +++ b/features/hud/index.js @@ -296,6 +296,7 @@ class Hud extends Feature { } step(){ + if(!Player.getPlayer()) return this.updateHudThingos() let fps = 0 -- cgit