aboutsummaryrefslogtreecommitdiff
path: root/features/cosmetics/hiddenRequirement.js
diff options
context:
space:
mode:
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