diff options
| author | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2022-12-29 03:35:25 +0100 |
|---|---|---|
| committer | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2022-12-29 03:35:25 +0100 |
| commit | 17acdec98dc6af6558a11f94ccd825901e9594b6 (patch) | |
| tree | e6df6548c49a1c3687dc745036648b5fecfcea3a /src/main/java/at/hannibal2/skyhanni/mixins | |
| parent | 3d8da1877afce737c7c924c0da80470247b927a7 (diff) | |
| download | skyhanni-17acdec98dc6af6558a11f94ccd825901e9594b6.tar.gz skyhanni-17acdec98dc6af6558a11f94ccd825901e9594b6.tar.bz2 skyhanni-17acdec98dc6af6558a11f94ccd825901e9594b6.zip | |
renamed event names
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/mixins')
| -rw-r--r-- | src/main/java/at/hannibal2/skyhanni/mixins/hooks/GuiContainerHook.kt | 4 | ||||
| -rw-r--r-- | src/main/java/at/hannibal2/skyhanni/mixins/hooks/RenderItemHook.kt | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/mixins/hooks/GuiContainerHook.kt b/src/main/java/at/hannibal2/skyhanni/mixins/hooks/GuiContainerHook.kt index f8e0e225a..cfdff8a73 100644 --- a/src/main/java/at/hannibal2/skyhanni/mixins/hooks/GuiContainerHook.kt +++ b/src/main/java/at/hannibal2/skyhanni/mixins/hooks/GuiContainerHook.kt @@ -29,11 +29,11 @@ class GuiContainerHook(guiAny: Any) { } fun onDrawSlot(slot: Slot, ci: CallbackInfo) { - if (GuiContainerEvent.DrawSlotEvent.Pre(gui, gui.inventorySlots, slot).postAndCatch()) ci.cancel() + if (GuiContainerEvent.DrawSlotEvent.GuiContainerDrawSlotPre(gui, gui.inventorySlots, slot).postAndCatch()) ci.cancel() } fun onDrawSlotPost(slot: Slot, ci: CallbackInfo) { - GuiContainerEvent.DrawSlotEvent.Post(gui, gui.inventorySlots, slot).postAndCatch() + GuiContainerEvent.DrawSlotEvent.GuiContainerDrawSlotPost(gui, gui.inventorySlots, slot).postAndCatch() } fun onMouseClick(slot: Slot?, slotId: Int, clickedButton: Int, clickType: Int, ci: CallbackInfo) { diff --git a/src/main/java/at/hannibal2/skyhanni/mixins/hooks/RenderItemHook.kt b/src/main/java/at/hannibal2/skyhanni/mixins/hooks/RenderItemHook.kt index 48d98fb5d..b94fad0d2 100644 --- a/src/main/java/at/hannibal2/skyhanni/mixins/hooks/RenderItemHook.kt +++ b/src/main/java/at/hannibal2/skyhanni/mixins/hooks/RenderItemHook.kt @@ -19,7 +19,7 @@ fun renderItemOverlayPost( text: String?, ci: CallbackInfo ) { - GuiRenderItemEvent.RenderOverlayEvent.Post( + GuiRenderItemEvent.RenderOverlayEvent.GuiRenderItemPost( fr, stack, xPosition, |
