aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLorenz <lo.scherf@gmail.com>2022-09-04 19:06:09 +0200
committerLorenz <lo.scherf@gmail.com>2022-09-04 19:06:09 +0200
commitd5d57c4cd6b48417ddb9517faf66f88d65ffbb14 (patch)
tree0b044e62d038d0521acd67e317818c85f60652ee /src
parentb33102aa38f460da3f21708d9bb31f030c517cf7 (diff)
downloadskyhanni-d5d57c4cd6b48417ddb9517faf66f88d65ffbb14.tar.gz
skyhanni-d5d57c4cd6b48417ddb9517faf66f88d65ffbb14.tar.bz2
skyhanni-d5d57c4cd6b48417ddb9517faf66f88d65ffbb14.zip
minor fixes
Diffstat (limited to 'src')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/damageindicator/DamageIndicatorManager.kt2
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/nether/ashfang/AshfangBlazingSouls.kt2
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/nether/ashfang/AshfangGravityOrbs.kt2
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/nether/ashfang/AshfangHighlightBlazes.kt3
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/nether/ashfang/AshfangNextResetCooldown.kt2
5 files changed, 5 insertions, 6 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/damageindicator/DamageIndicatorManager.kt b/src/main/java/at/hannibal2/skyhanni/features/damageindicator/DamageIndicatorManager.kt
index 0004d9e97..e1a12c7af 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/damageindicator/DamageIndicatorManager.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/damageindicator/DamageIndicatorManager.kt
@@ -44,7 +44,7 @@ class DamageIndicatorManager {
}
@SubscribeEvent
- fun onWorldLoad(event: WorldEvent.Load) {
+ fun onWorldChange(event: WorldEvent.Load) {
mobFinder = MobFinder()
data.clear()
}
diff --git a/src/main/java/at/hannibal2/skyhanni/features/nether/ashfang/AshfangBlazingSouls.kt b/src/main/java/at/hannibal2/skyhanni/features/nether/ashfang/AshfangBlazingSouls.kt
index 2ae0908a2..1ca713afe 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/nether/ashfang/AshfangBlazingSouls.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/nether/ashfang/AshfangBlazingSouls.kt
@@ -53,7 +53,7 @@ class AshfangBlazingSouls {
}
@SubscribeEvent
- fun renderOverlay(event: WorldEvent.Load) {
+ fun onWorldChange(event: WorldEvent.Load) {
souls.clear()
}
diff --git a/src/main/java/at/hannibal2/skyhanni/features/nether/ashfang/AshfangGravityOrbs.kt b/src/main/java/at/hannibal2/skyhanni/features/nether/ashfang/AshfangGravityOrbs.kt
index 6a6f991f1..635d5fe88 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/nether/ashfang/AshfangGravityOrbs.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/nether/ashfang/AshfangGravityOrbs.kt
@@ -54,7 +54,7 @@ class AshfangGravityOrbs {
}
@SubscribeEvent
- fun renderOverlay(event: WorldEvent.Load) {
+ fun onWorldChange(event: WorldEvent.Load) {
orbs.clear()
}
diff --git a/src/main/java/at/hannibal2/skyhanni/features/nether/ashfang/AshfangHighlightBlazes.kt b/src/main/java/at/hannibal2/skyhanni/features/nether/ashfang/AshfangHighlightBlazes.kt
index 274f0b3c9..eaac1a5e1 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/nether/ashfang/AshfangHighlightBlazes.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/nether/ashfang/AshfangHighlightBlazes.kt
@@ -4,7 +4,6 @@ import at.hannibal2.skyhanni.SkyHanniMod
import at.hannibal2.skyhanni.events.RenderMobColoredEvent
import at.hannibal2.skyhanni.events.ResetEntityHurtTimeEvent
import at.hannibal2.skyhanni.events.withAlpha
-import at.hannibal2.skyhanni.test.LorenzTest
import at.hannibal2.skyhanni.utils.EntityUtils.getAllNameTagsWith
import at.hannibal2.skyhanni.utils.LorenzColor
import at.hannibal2.skyhanni.utils.LorenzUtils
@@ -62,7 +61,7 @@ class AshfangHighlightBlazes {
fun onRenderMobColored(event: RenderMobColoredEvent) {
if (!isEnabled()) return
val entity = event.entity
- event.color = blazes[entity]?.toColor()?.withAlpha(LorenzTest.a.toInt()) ?: 0
+ event.color = blazes[entity]?.toColor()?.withAlpha(40) ?: 0
}
@SubscribeEvent
diff --git a/src/main/java/at/hannibal2/skyhanni/features/nether/ashfang/AshfangNextResetCooldown.kt b/src/main/java/at/hannibal2/skyhanni/features/nether/ashfang/AshfangNextResetCooldown.kt
index 0f8d617d1..0e10334b8 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/nether/ashfang/AshfangNextResetCooldown.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/nether/ashfang/AshfangNextResetCooldown.kt
@@ -43,7 +43,7 @@ class AshfangNextResetCooldown {
}
@SubscribeEvent
- fun renderOverlay(event: WorldEvent.Load) {
+ fun onWorldChange(event: WorldEvent.Load) {
spawnTime = -1
}