diff options
author | Soopyboo32 <49228220+Soopyboo32@users.noreply.github.com> | 2021-11-06 18:15:47 +0800 |
---|---|---|
committer | Soopyboo32 <49228220+Soopyboo32@users.noreply.github.com> | 2021-11-06 18:15:47 +0800 |
commit | b33a75b2eba88c60280fcd441a5dd974cf763ab4 (patch) | |
tree | 53bd51697f69596fdcc388cdc71cc91b745f8f67 /logger.js | |
parent | bae481562a9186cafebdde2be9ac53b93cb98885 (diff) | |
download | SoopyV2-b33a75b2eba88c60280fcd441a5dd974cf763ab4.tar.gz SoopyV2-b33a75b2eba88c60280fcd441a5dd974cf763ab4.tar.bz2 SoopyV2-b33a75b2eba88c60280fcd441a5dd974cf763ab4.zip |
Added update notif, cosmetics, and unfinished museum overlay
Diffstat (limited to 'logger.js')
-rw-r--r-- | logger.js | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -3,7 +3,7 @@ class Logger{ constructor(){ - this.loglevel = 4 //0=none, 1=error, 2=warn, 3=info, 4=debug + this.loglevel = isDev()?4:2 //0=none, 1=error, 2=warn, 3=info, 4=debug this.logToMcChat = false this.logPrefixes = [ "[SOOPYADDONS] ", @@ -25,4 +25,10 @@ class Logger{ } } +let devs = ["dc8c39647b294e03ae9ed13ebd65dd29"] + +function isDev(){ + return devs.includes(Player.getUUID().toString().replace(/-/g, "")) +} + export default new Logger()
\ No newline at end of file |