aboutsummaryrefslogtreecommitdiff
path: root/src/main/kotlin/com/ambientaddons/events/GuiContainerEvent.kt
diff options
context:
space:
mode:
authorAppability <appable@icloud.com>2022-11-12 02:48:54 -0800
committerAppability <appable@icloud.com>2022-11-12 02:48:54 -0800
commit2b21d3a18b412ec8c205beacf403f0147dc04618 (patch)
tree7aaeda1956b03ba5b0e53cdf575663e3d68a34d2 /src/main/kotlin/com/ambientaddons/events/GuiContainerEvent.kt
parent8ec0ce4c645b3fb94c25cde9922f853a992b3fa7 (diff)
downloadAmbientAddons-2b21d3a18b412ec8c205beacf403f0147dc04618.tar.gz
AmbientAddons-2b21d3a18b412ec8c205beacf403f0147dc04618.tar.bz2
AmbientAddons-2b21d3a18b412ec8c205beacf403f0147dc04618.zip
add autosalvage
Diffstat (limited to 'src/main/kotlin/com/ambientaddons/events/GuiContainerEvent.kt')
-rw-r--r--src/main/kotlin/com/ambientaddons/events/GuiContainerEvent.kt4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/kotlin/com/ambientaddons/events/GuiContainerEvent.kt b/src/main/kotlin/com/ambientaddons/events/GuiContainerEvent.kt
index 276abc3..563f0f2 100644
--- a/src/main/kotlin/com/ambientaddons/events/GuiContainerEvent.kt
+++ b/src/main/kotlin/com/ambientaddons/events/GuiContainerEvent.kt
@@ -9,9 +9,9 @@ import net.minecraftforge.fml.common.eventhandler.Event
// credit Harry282/Skyblock-Client, under AGPL 3.0
open class GuiContainerEvent(val container: Container, val gui: GuiContainer) : Event() {
@Cancelable
- class DrawSlotEvent(container: Container, gui: GuiContainer, var slot: Slot) : GuiContainerEvent(container, gui)
+ class DrawSlotEvent(container: Container, gui: GuiContainer, val slot: Slot) : GuiContainerEvent(container, gui)
@Cancelable
- class SlotClickEvent(container: Container, gui: GuiContainer, var slot: Slot?, var slotId: Int) :
+ class SlotClickEvent(container: Container, gui: GuiContainer, val slot: Slot?, val slotId: Int) :
GuiContainerEvent(container, gui)
} \ No newline at end of file