diff options
author | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-10-22 16:49:07 +0200 |
---|---|---|
committer | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-10-22 16:49:07 +0200 |
commit | 9489093b97262162cea25055e988be0410379997 (patch) | |
tree | 72305a9a546036593c048dffe28fd05670fd1281 /src/main/java | |
parent | 7e0e411cad4a7fd779d2679bd69cf7dac6fc22e3 (diff) | |
download | skyhanni-9489093b97262162cea25055e988be0410379997.tar.gz skyhanni-9489093b97262162cea25055e988be0410379997.tar.bz2 skyhanni-9489093b97262162cea25055e988be0410379997.zip |
fixed clean end working in f5/m5
Diffstat (limited to 'src/main/java')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/features/dungeon/DungeonCleanEnd.kt | 4 |
1 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 d10122334..701ef74ee 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/dungeon/DungeonCleanEnd.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/dungeon/DungeonCleanEnd.kt @@ -71,7 +71,7 @@ class DungeonCleanEnd { if (lastBossId == -1) return if (event.entity.entityId != lastBossId) return - if (event.health <= 0) { + if (event.health <= 0.5) { val dungeonFloor = DungeonAPI.dungeonFloor LorenzUtils.chat("§eFloor $dungeonFloor done!") bossDone = true @@ -121,4 +121,4 @@ class DungeonCleanEnd { event.move(3, "dungeon.cleanEndF3IgnoreGuardians", "dungeon.cleanEnd.F3IgnoreGuardians") } -}
\ No newline at end of file +} |