diff options
Diffstat (limited to 'features/cosmetics/index.js')
-rw-r--r-- | features/cosmetics/index.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/features/cosmetics/index.js b/features/cosmetics/index.js index 826742a..ec8a094 100644 --- a/features/cosmetics/index.js +++ b/features/cosmetics/index.js @@ -61,7 +61,7 @@ class Cosmetics extends Feature { // }) // this.registerEvent("renderEntity", this.renderEntity) - if(global.soopyV2Server.userCosmeticPermissions){ + if(global.soopyV2Server && global.soopyV2Server.userCosmeticPermissions){ this.updateUserCosmeticPermissionSettings() } } |