From 63c0262ee48e2963ad837dc000e6f535f80fcf88 Mon Sep 17 00:00:00 2001 From: Soopyboo32 <49228220+Soopyboo32@users.noreply.github.com> Date: Thu, 16 Dec 2021 14:03:42 +0800 Subject: Fix custom museum gui not letting you donate 3 piece armour sets --- features/betterGuis/museumGui.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'features') diff --git a/features/betterGuis/museumGui.js b/features/betterGuis/museumGui.js index 1dec09c..44d4d41 100644 --- a/features/betterGuis/museumGui.js +++ b/features/betterGuis/museumGui.js @@ -450,7 +450,7 @@ class MuseumGui { donateArmorSets[setId] = (donateArmorSets[setId]||0)+1 - if(donateArmorSets[setId] === 4){ + if(donateArmorSets[setId] === 3){ this.donateItems.push({ sb_id: sb_id || "NA", name: item.getName() || "", -- cgit From 7ba8a279a81d6b9c3e51fd451150d3a0f741057a Mon Sep 17 00:00:00 2001 From: Soopyboo32 <49228220+Soopyboo32@users.noreply.github.com> Date: Sun, 19 Dec 2021 17:22:37 +0800 Subject: potential fix --- features/slayers/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'features') diff --git a/features/slayers/index.js b/features/slayers/index.js index 5b6e5ac..e2adcfd 100644 --- a/features/slayers/index.js +++ b/features/slayers/index.js @@ -44,7 +44,7 @@ class Slayers extends Feature { this.slayerExp[this.lastSlayerType] = this.lastSlayerExp + (this.slayerExp[this.lastSlayerType] || 0) if(this.expOnKill.getValue()){ cancel(e) - ChatLib.chat("&r &r&a&lSLAYER QUEST COMPLETE!&r") + ChatLib.chat("&r &r&a&lSLAYER QUEST COMPLETE!&a&r") ChatLib.chat("&r &r&aYou have &d" + numberWithCommas(this.slayerExp[this.lastSlayerType]) + " " + this.lastSlayerType + " XP&r&7!&r") ChatLib.chat("&r &r&aYou have &d" + numberWithCommas(Object.values(this.slayerExp).reduce((a, t)=>t+a, 0)) + " total XP&r&7!&r") if(Date.now()-this.lastBossSlain < 60000*5) ChatLib.chat("&r &r&aBoss took &d" + timeNumber((Date.now()-this.lastBossSlain)) + " &ato spawn and kill&r&7!"+/* (" + timeNumber(Date.now()-this.lastBossSpawned) + " to kill) */"&r") //TODO: Seperate setting for this @@ -314,7 +314,7 @@ class Slayers extends Feature { }) if(this.emanBoss){ - this.emanHpElement.setText("&6Enderman&7> " + this.emanBoss.getName().split("Voidgloom Seraph")[1].trim()) + this.emanHpElement.setText("&6Enderman&7> " + (this.emanBoss.getName().split("Voidgloom Seraph")[1]||"").trim()) }else{ this.emanHpElement.setText("") } -- cgit