summaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni/features/minion
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/minion
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/minion')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/minion/MinionFeatures.kt8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/minion/MinionFeatures.kt b/src/main/java/at/hannibal2/skyhanni/features/minion/MinionFeatures.kt
index 6d32d7b1c..6d2d5c4e4 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/minion/MinionFeatures.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/minion/MinionFeatures.kt
@@ -4,10 +4,7 @@ import at.hannibal2.skyhanni.SkyHanniMod
import at.hannibal2.skyhanni.config.Storage
import at.hannibal2.skyhanni.data.IslandType
import at.hannibal2.skyhanni.data.ProfileStorageData
-import at.hannibal2.skyhanni.events.InventoryCloseEvent
-import at.hannibal2.skyhanni.events.InventoryOpenEvent
-import at.hannibal2.skyhanni.events.LorenzChatEvent
-import at.hannibal2.skyhanni.events.MinionOpenEvent
+import at.hannibal2.skyhanni.events.*
import at.hannibal2.skyhanni.test.GriffinUtils.drawWaypointFilled
import at.hannibal2.skyhanni.utils.*
import at.hannibal2.skyhanni.utils.ItemUtils.getLore
@@ -26,7 +23,6 @@ import net.minecraft.entity.item.EntityArmorStand
import net.minecraftforge.client.event.GuiScreenEvent
import net.minecraftforge.client.event.RenderLivingEvent
import net.minecraftforge.client.event.RenderWorldLastEvent
-import net.minecraftforge.event.world.WorldEvent
import net.minecraftforge.fml.common.eventhandler.EventPriority
import net.minecraftforge.fml.common.eventhandler.SubscribeEvent
import net.minecraftforge.fml.common.gameevent.InputEvent
@@ -190,7 +186,7 @@ class MinionFeatures {
}
@SubscribeEvent
- fun onWorldChange(event: WorldEvent.Load) {
+ fun onWorldChange(event: LorenzWorldChangeEvent) {
lastClickedEntity = null
lastMinion = null
lastMinionOpened = 0L