aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--featureClass/class.js2
-rw-r--r--features/globalSettings/index.js2
-rw-r--r--metadata.json4
3 files changed, 4 insertions, 4 deletions
diff --git a/featureClass/class.js b/featureClass/class.js
index 13ddf81..581f6ba 100644
--- a/featureClass/class.js
+++ b/featureClass/class.js
@@ -79,7 +79,7 @@ class Feature {
this.forgeEvents[theEvent.id] = theEvent
}catch(e){
- if(!messageIfError) messageIfError = "An error occured while registering the event " + event.toString() + ", this may cause " + this.constructor.name + " to not work properly."
+ if(!messageIfError) messageIfError = "An error occured while registering the event " + event.class.toString().split(".").pop() + ", this may cause " + this.constructor.name + " to not work properly."
ChatLib.chat(this.FeatureManager.messagePrefix + messageIfError)
}
diff --git a/features/globalSettings/index.js b/features/globalSettings/index.js
index 684561f..a958628 100644
--- a/features/globalSettings/index.js
+++ b/features/globalSettings/index.js
@@ -78,7 +78,7 @@ class Hud extends Feature {
soopyWeight(user){
- ChatLib.chat(this.FeatureManager.messagePrefix + " Finding senither weight for " + user)
+ ChatLib.chat(this.FeatureManager.messagePrefix + "Finding senither weight for " + user)
let userData = JSON.parse(FileLib.getUrlContent("http://soopymc.my.to/api/v2/player/"+user))
diff --git a/metadata.json b/metadata.json
index 39720db..6a97298 100644
--- a/metadata.json
+++ b/metadata.json
@@ -5,8 +5,8 @@
"entry": "index.js",
"description": "Soopy addons v2",
"name": "SoopyV2",
- "version": "2.1.23",
- "versionId": 150,
+ "version": "2.1.24",
+ "versionId": 151,
"requires": [
"soopyApis",
"soopyAddonsData",