aboutsummaryrefslogtreecommitdiff
path: root/features
diff options
context:
space:
mode:
authorSoopyboo32 <49228220+Soopyboo32@users.noreply.github.com>2022-08-12 15:21:38 +0800
committerSoopyboo32 <49228220+Soopyboo32@users.noreply.github.com>2022-08-12 15:21:38 +0800
commit2468043f5d90512289ef17fd8e0e9a2a7e508b76 (patch)
tree752206feb3e973e04a4d4204aa2bf71fee490933 /features
parentf35a35924d01ed3c06546a76a14125bf14ab699c (diff)
downloadSoopyV2-2468043f5d90512289ef17fd8e0e9a2a7e508b76.tar.gz
SoopyV2-2468043f5d90512289ef17fd8e0e9a2a7e508b76.tar.bz2
SoopyV2-2468043f5d90512289ef17fd8e0e9a2a7e508b76.zip
fix
Diffstat (limited to 'features')
-rw-r--r--features/hud/index.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/features/hud/index.js b/features/hud/index.js
index b042850..40d8243 100644
--- a/features/hud/index.js
+++ b/features/hud/index.js
@@ -15,8 +15,8 @@ import { addNotation, numberWithCommas } from "../../utils/numberUtils.js";
const ProcessBuilder = Java.type("java.lang.ProcessBuilder")
const Scanner = Java.type("java.util.Scanner")
-let OldServerPinger = Java.type("net.minecraft.client.network.OldServerPinger")
-let serverPinger = new OldServerPinger()
+//TODO: fix messages like [[Frozen Steve]] fell into the pond long ago, never to resurface... until now!
+let fishingExp = { "A Squid appeared.": 41, "You caught a Sea Walker.": 68, "Pitch Darkness reveals you've caught a Night Squid.": 270, "You stumbled upon a Sea Guardian.": 101, "It looks like you've disrupted the Sea Witch's brewing session. Watch out, she's furious!": 338, "You reeled in a Sea Archer.": 169, "The Monster of The Deep emerges from the dark depths...": 270, "Huh? A Catfish!": 405, "Gross! A Sea Leech!": 675, "You've discovered a Guardian Defender of the sea.": 1013, "You have awoken the Deep Sea Protector, prepare for a battle!": 1350, "The Water Hydra has come to test your Strength.": 4050, "The Sea Emperor arises from the depths...": 3375, "A Water Worm surfaces!": 240, "A Poisoned Water Worm surfaces!": 270, "A flaming worm surfaces from the depths!": 240, "A Lava Blaze has surfaced from the depths!": 548, "A Lava Pigman arose from the depths!": 568, "A Zombie Miner surfaces!": 770, "From Beneath the lava": 730, "You hear a faint Moo": 950, "A small but fearsome": 1400, "You feel the heat": 1100, "A Lava Flame flies out from beneath the lava.": 2100, "A Fire Eel slithers out": 2200, "Taurus and his steed emerge.": 4300, "You hear a massive rumble as Thunder emerges.": 12000, "You have angered a legendary creature... ": 40000, "WOAH! A Plhlegblast appeared.": 5000, "Phew! It's only a scarecrow.": 420, "You hear trotting from beneath the waves, you caught a Nightmare": 820, "It must be a full moon, it's a Werewolf!": 1235, "The spirit of a long lost Phantom Fisher has come to haunt you.": 2525, "[[Frozen Steve]] fell into the pond long ago, never to resurface... until now!": 101, "Its a Snowman! It looks harmless.": 203, "The Grinch stole [[Jerry]]'s [[Gifts]]...get them back!": 405, "What is this creature!?": 4050, "A tiny fin emerges from the water, you've caught a Nurse Shark.": 405, "You spot a fin as blue as the water it came from, it's a Blue Shark.": 810, "A striped beast bounds from the depths, the wild Tiger Shark!": 1013, "Hide no longer, a Great White Shark has tracked your scent and thirsts for your blood!": 2025 }
class Hud extends Feature {
constructor() {
@@ -703,7 +703,7 @@ class Hud extends Feature {
}
updateHudThingos() {
- let insb = !!this.FeatureManager.features["dataLoader"]?.class?.isInSkyblock
+ let insb = !!(this.FeatureManager.features["dataLoader"] && this.FeatureManager.features["dataLoader"].class?.isInSkyblock)
this.hudStat.forEach(stat => {
if (stat.enabled.getValue()) {