summaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni/features/mobs
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-07-25 03:45:22 +0200
committerhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-07-25 03:45:22 +0200
commitde61fd6bccbea2a3ceca5a0707a3176938f24ead (patch)
tree22296db71bf825818091453a441102e726aa1e50 /src/main/java/at/hannibal2/skyhanni/features/mobs
parent6b4c633716f6998461d701f7c841a16e59c1794b (diff)
downloadskyhanni-de61fd6bccbea2a3ceca5a0707a3176938f24ead.tar.gz
skyhanni-de61fd6bccbea2a3ceca5a0707a3176938f24ead.tar.bz2
skyhanni-de61fd6bccbea2a3ceca5a0707a3176938f24ead.zip
Using LorenzWorldChangeEvent everywhere
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/features/mobs')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/mobs/AreaMiniBossFeatures.kt4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/mobs/AreaMiniBossFeatures.kt b/src/main/java/at/hannibal2/skyhanni/features/mobs/AreaMiniBossFeatures.kt
index 09f125dbf..8c1a2dd24 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/mobs/AreaMiniBossFeatures.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/mobs/AreaMiniBossFeatures.kt
@@ -2,6 +2,7 @@ package at.hannibal2.skyhanni.features.mobs
import at.hannibal2.skyhanni.SkyHanniMod
import at.hannibal2.skyhanni.events.EntityMaxHealthUpdateEvent
+import at.hannibal2.skyhanni.events.LorenzWorldChangeEvent
import at.hannibal2.skyhanni.events.withAlpha
import at.hannibal2.skyhanni.mixins.hooks.RenderLivingEntityHelper
import at.hannibal2.skyhanni.utils.*
@@ -13,7 +14,6 @@ import net.minecraft.entity.monster.EntityEnderman
import net.minecraft.entity.monster.EntityZombie
import net.minecraft.entity.passive.EntityWolf
import net.minecraftforge.client.event.RenderWorldLastEvent
-import net.minecraftforge.event.world.WorldEvent
import net.minecraftforge.fml.common.eventhandler.SubscribeEvent
class AreaMiniBossFeatures {
@@ -71,7 +71,7 @@ class AreaMiniBossFeatures {
}
@SubscribeEvent
- fun onWorldChange(event: WorldEvent.Load) {
+ fun onWorldChange(event: LorenzWorldChangeEvent) {
miniBossType = null
}