diff options
| author | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-07-25 03:45:22 +0200 |
|---|---|---|
| committer | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-07-25 03:45:22 +0200 |
| commit | de61fd6bccbea2a3ceca5a0707a3176938f24ead (patch) | |
| tree | 22296db71bf825818091453a441102e726aa1e50 /src/main/java/at/hannibal2/skyhanni/features/bingo | |
| parent | 6b4c633716f6998461d701f7c841a16e59c1794b (diff) | |
| download | skyhanni-de61fd6bccbea2a3ceca5a0707a3176938f24ead.tar.gz skyhanni-de61fd6bccbea2a3ceca5a0707a3176938f24ead.tar.bz2 skyhanni-de61fd6bccbea2a3ceca5a0707a3176938f24ead.zip | |
Using LorenzWorldChangeEvent everywhere
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/features/bingo')
| -rw-r--r-- | src/main/java/at/hannibal2/skyhanni/features/bingo/MinionCraftHelper.kt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/bingo/MinionCraftHelper.kt b/src/main/java/at/hannibal2/skyhanni/features/bingo/MinionCraftHelper.kt index ca73f8557..ead79267c 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/bingo/MinionCraftHelper.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/bingo/MinionCraftHelper.kt @@ -4,6 +4,7 @@ import at.hannibal2.skyhanni.SkyHanniMod import at.hannibal2.skyhanni.data.TitleUtils import at.hannibal2.skyhanni.events.GuiRenderEvent import at.hannibal2.skyhanni.events.InventoryOpenEvent +import at.hannibal2.skyhanni.events.LorenzWorldChangeEvent import at.hannibal2.skyhanni.events.ProfileJoinEvent import at.hannibal2.skyhanni.utils.ItemUtils.getInternalName import at.hannibal2.skyhanni.utils.ItemUtils.name @@ -17,7 +18,6 @@ import io.github.moulberry.notenoughupdates.NotEnoughUpdates import io.github.moulberry.notenoughupdates.recipes.CraftingRecipe import net.minecraft.client.Minecraft import net.minecraft.item.ItemStack -import net.minecraftforge.event.world.WorldEvent import net.minecraftforge.fml.common.eventhandler.SubscribeEvent import net.minecraftforge.fml.common.gameevent.TickEvent @@ -33,7 +33,7 @@ class MinionCraftHelper { private val alreadyNotified = mutableListOf<String>() @SubscribeEvent - fun onWorldChange(event: WorldEvent.Load) { + fun onWorldChange(event: LorenzWorldChangeEvent) { alreadyNotified.clear() } |
