aboutsummaryrefslogtreecommitdiff
path: root/features/cosmetics/hiddenRequirement.js
diff options
context:
space:
mode:
authorSoopyboo32 <49228220+Soopyboo32@users.noreply.github.com>2021-11-06 18:15:47 +0800
committerSoopyboo32 <49228220+Soopyboo32@users.noreply.github.com>2021-11-06 18:15:47 +0800
commitb33a75b2eba88c60280fcd441a5dd974cf763ab4 (patch)
tree53bd51697f69596fdcc388cdc71cc91b745f8f67 /features/cosmetics/hiddenRequirement.js
parentbae481562a9186cafebdde2be9ac53b93cb98885 (diff)
downloadSoopyV2-b33a75b2eba88c60280fcd441a5dd974cf763ab4.tar.gz
SoopyV2-b33a75b2eba88c60280fcd441a5dd974cf763ab4.tar.bz2
SoopyV2-b33a75b2eba88c60280fcd441a5dd974cf763ab4.zip
Added update notif, cosmetics, and unfinished museum overlay
Diffstat (limited to 'features/cosmetics/hiddenRequirement.js')
-rw-r--r--features/cosmetics/hiddenRequirement.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/features/cosmetics/hiddenRequirement.js b/features/cosmetics/hiddenRequirement.js
new file mode 100644
index 0000000..7e0b57a
--- /dev/null
+++ b/features/cosmetics/hiddenRequirement.js
@@ -0,0 +1,5 @@
+let cosmeticsClass = require("./index").class
+
+export default ()=>{
+ return !!cosmeticsClass?.cosmeticsData?.[Player.getUUID().toString()]
+} \ No newline at end of file