aboutsummaryrefslogtreecommitdiff
path: root/features/hud
diff options
context:
space:
mode:
authorSoopyboo32 <49228220+Soopyboo32@users.noreply.github.com>2022-01-23 22:21:23 +0800
committerSoopyboo32 <49228220+Soopyboo32@users.noreply.github.com>2022-01-23 22:21:23 +0800
commitfe3449248bb556779fc1ef8ee216efeda43e8592 (patch)
treec96fe6a66e8f9ea7a519e1027572b3d8ae53e331 /features/hud
parenta0158cef8a59537145286ad96fd3daafc5238cf8 (diff)
downloadSoopyV2-fe3449248bb556779fc1ef8ee216efeda43e8592.tar.gz
SoopyV2-fe3449248bb556779fc1ef8ee216efeda43e8592.tar.bz2
SoopyV2-fe3449248bb556779fc1ef8ee216efeda43e8592.zip
add error handling to registering forge event, and other fixes and cleanups
Diffstat (limited to 'features/hud')
-rw-r--r--features/hud/index.js1
1 files changed, 1 insertions, 0 deletions
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