summaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni/features
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-02-02 20:41:21 +0100
committerhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-02-02 20:41:21 +0100
commit7b329087dc47842e2a8337e650e6c037230da7ba (patch)
tree0855c1586309df64d9469d075c355a38b0e6e057 /src/main/java/at/hannibal2/skyhanni/features
parentee0ae23560e911fbec5e5262feaaa58dc5d52e7a (diff)
downloadskyhanni-7b329087dc47842e2a8337e650e6c037230da7ba.tar.gz
skyhanni-7b329087dc47842e2a8337e650e6c037230da7ba.tar.bz2
skyhanni-7b329087dc47842e2a8337e650e6c037230da7ba.zip
Shark fishing timer fix and other misc stuff.
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/features')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/dungeon/DungeonCleanEnd.kt2
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/fishing/SharkFishCounter.kt2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/dungeon/DungeonCleanEnd.kt b/src/main/java/at/hannibal2/skyhanni/features/dungeon/DungeonCleanEnd.kt
index ffbbb3085..49673a208 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/dungeon/DungeonCleanEnd.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/dungeon/DungeonCleanEnd.kt
@@ -63,7 +63,7 @@ class DungeonCleanEnd {
if (lastBossId == -1) return
if (event.entity.entityId != lastBossId) return
- if (event.health < 1) {
+ if (event.health <= 0) {
val dungeonFloor = DungeonData.dungeonFloor
LorenzUtils.chat("§eFloor $dungeonFloor done!")
bossDone = true
diff --git a/src/main/java/at/hannibal2/skyhanni/features/fishing/SharkFishCounter.kt b/src/main/java/at/hannibal2/skyhanni/features/fishing/SharkFishCounter.kt
index 30ee3f8eb..439dcd940 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/fishing/SharkFishCounter.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/fishing/SharkFishCounter.kt
@@ -13,7 +13,7 @@ import net.minecraftforge.fml.common.gameevent.TickEvent
class SharkFishCounter {
private var counter = 0
- private var display = "$counter sharks caught"
+ private var display = ""
private var tick = 0
private var hasWaterRodInHand = false