diff options
| author | Thunderblade73 <85900443+Thunderblade73@users.noreply.github.com> | 2024-03-23 18:45:05 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-03-23 18:45:05 +0100 |
| commit | 7839e0f489b48468f7ce4dc71400523581f03c1a (patch) | |
| tree | 2b2371024ebcca5fb0b84f34a0a6a296cceb5e0c /src/main/java/at/hannibal2/skyhanni/features/mining | |
| parent | c03d6b26f0d5a8e1d99b5e8f49de0d3aa87969a9 (diff) | |
| download | skyhanni-7839e0f489b48468f7ce4dc71400523581f03c1a.tar.gz skyhanni-7839e0f489b48468f7ce4dc71400523581f03c1a.tar.bz2 skyhanni-7839e0f489b48468f7ce4dc71400523581f03c1a.zip | |
Backend: Removal of Neu's SlotClickEvent (#1206)
Co-authored-by: hannibal2 <24389977+hannibal00212@users.noreply.github.com>
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/features/mining')
| -rw-r--r-- | src/main/java/at/hannibal2/skyhanni/features/mining/DeepCavernsParkour.kt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/mining/DeepCavernsParkour.kt b/src/main/java/at/hannibal2/skyhanni/features/mining/DeepCavernsParkour.kt index ca1db4ff4..f00476d78 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/mining/DeepCavernsParkour.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/mining/DeepCavernsParkour.kt @@ -4,6 +4,7 @@ import at.hannibal2.skyhanni.SkyHanniMod import at.hannibal2.skyhanni.data.IslandType import at.hannibal2.skyhanni.data.jsonobjects.repo.ParkourJson import at.hannibal2.skyhanni.events.ConfigLoadEvent +import at.hannibal2.skyhanni.events.GuiContainerEvent import at.hannibal2.skyhanni.events.InventoryCloseEvent import at.hannibal2.skyhanni.events.InventoryFullyOpenedEvent import at.hannibal2.skyhanni.events.IslandChangeEvent @@ -18,7 +19,6 @@ import at.hannibal2.skyhanni.utils.NEUInternalName.Companion.asInternalName import at.hannibal2.skyhanni.utils.NEUItems.getItemStack import at.hannibal2.skyhanni.utils.ParkourHelper import io.github.moulberry.notenoughupdates.events.ReplaceItemEvent -import io.github.moulberry.notenoughupdates.events.SlotClickEvent import io.github.moulberry.notenoughupdates.util.Utils import net.minecraft.client.player.inventory.ContainerLocalMenu import net.minecraftforge.fml.common.eventhandler.EventPriority @@ -126,7 +126,7 @@ class DeepCavernsParkour { } @SubscribeEvent(priority = EventPriority.HIGH) - fun onStackClick(event: SlotClickEvent) { + fun onStackClick(event: GuiContainerEvent.SlotClickEvent) { if (showStartIcon && event.slotId == 40) { event.isCanceled = true ChatUtils.chat("Manually enabled Deep Caverns Parkour.") |
