aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--features/betterGuis/museumGui.js4
-rw-r--r--features/globalSettings/index.js2
-rw-r--r--features/mining/index.js1
-rw-r--r--metadata.json4
4 files changed, 5 insertions, 6 deletions
diff --git a/features/betterGuis/museumGui.js b/features/betterGuis/museumGui.js
index b52fbf3..94c806d 100644
--- a/features/betterGuis/museumGui.js
+++ b/features/betterGuis/museumGui.js
@@ -178,13 +178,13 @@ class MuseumGui {
this.nextButton = new ButtonWithArrow().setLocation(0.5+widthPer*3/2-widthPer/2, 0.25, widthPer/2, 0.075).setText("§0Next Page")
this.nextButton.addEvent(new SoopyMouseClickEvent().setHandler(()=>{
- this.nextPage()
+ if(this.nextButton.visable)this.nextPage()
}))
this.mainPage.addChild(this.nextButton)
this.previousButton = new ButtonWithArrow().setLocation(0.5-widthPer*3/2, 0.25, widthPer/2, 0.075).setText("§0Previous Page").setDirectionRight(false)
this.previousButton.addEvent(new SoopyMouseClickEvent().setHandler(()=>{
- this.previousPage()
+ if(this.previousButton.visable)this.previousPage()
}))
this.mainPage.addChild(this.previousButton)
diff --git a/features/globalSettings/index.js b/features/globalSettings/index.js
index 2b09c2d..6f158ec 100644
--- a/features/globalSettings/index.js
+++ b/features/globalSettings/index.js
@@ -224,8 +224,6 @@ class Hud extends Feature {
}
onDisable(){
- this.fpsEnabledSetting.delete()
-
this.initVariables()
}
}
diff --git a/features/mining/index.js b/features/mining/index.js
index c430e3a..214ffa7 100644
--- a/features/mining/index.js
+++ b/features/mining/index.js
@@ -127,6 +127,7 @@ class Mining extends Feature {
}
tick(){
+ if(!this.FeatureManager.features["dataLoader"]) return
if(this.guessBalHp.getValue() || this.balRespawnHud.getValue()){
if(this.FeatureManager.features["dataLoader"].class.area === "Crystal Hollows" && this.FeatureManager.features["dataLoader"].class.areaFine === "Khazad-dm"){
diff --git a/metadata.json b/metadata.json
index 5d42977..d790b5d 100644
--- a/metadata.json
+++ b/metadata.json
@@ -5,8 +5,8 @@
"entry": "index.js",
"description": "Soopy addons v2",
"name": "SoopyV2",
- "version": "2.0.13",
- "versionId": 123,
+ "version": "2.0.14",
+ "versionId": 124,
"requires": [
"soopyApis",
"soopyAddonsData",