diff options
Diffstat (limited to 'features')
-rw-r--r-- | features/betterGuis/museumGui.js | 4 | ||||
-rw-r--r-- | features/globalSettings/index.js | 2 | ||||
-rw-r--r-- | features/mining/index.js | 1 |
3 files changed, 3 insertions, 4 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"){ |