diff options
author | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-10-17 21:42:36 +0200 |
---|---|---|
committer | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-10-17 21:42:36 +0200 |
commit | 5560763ae2481c84c63513d37b228855dfa7ee43 (patch) | |
tree | 399243d3d760c442917ed239ca4c78a90b3b432b /src/main/java/at/hannibal2/skyhanni | |
parent | d90b1dc825759920e6e6fa2ca95cf667dfa26082 (diff) | |
download | skyhanni-5560763ae2481c84c63513d37b228855dfa7ee43.tar.gz skyhanni-5560763ae2481c84c63513d37b228855dfa7ee43.tar.bz2 skyhanni-5560763ae2481c84c63513d37b228855dfa7ee43.zip |
Fixed blaze slayer damage indicator working again, no longer causing fps drops and correctly migrating the colored mobs setting.
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/features/slayer/blaze/HellionShieldHelper.kt | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/slayer/blaze/HellionShieldHelper.kt b/src/main/java/at/hannibal2/skyhanni/features/slayer/blaze/HellionShieldHelper.kt index e0ba32edc..105f7db3e 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/slayer/blaze/HellionShieldHelper.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/slayer/blaze/HellionShieldHelper.kt @@ -32,6 +32,11 @@ class HellionShieldHelper { hellionShieldMobs.getOrDefault(event.entity, null) ?: return event.shouldReset = true } + + @SubscribeEvent + fun onConfigFix(event: ConfigUpdaterMigrator.ConfigFixEvent) { + event.move(3, "slayer.blazeColoredMobs", "slayer.blazes.hellion.coloredMobs") + } } fun EntityLiving.setHellionShield(shield: HellionShield?) { @@ -40,9 +45,4 @@ fun EntityLiving.setHellionShield(shield: HellionShield?) { } else { HellionShieldHelper.hellionShieldMobs.remove(this) } - - @SubscribeEvent - fun onConfigFix(event: ConfigUpdaterMigrator.ConfigFixEvent) { - event.move(3, "slayer.blazeColoredMobs", "slayer.blazes.hellion.coloredMobs") - } }
\ No newline at end of file |