From 2b21d3a18b412ec8c205beacf403f0147dc04618 Mon Sep 17 00:00:00 2001 From: Appability Date: Sat, 12 Nov 2022 02:48:54 -0800 Subject: add autosalvage --- src/main/kotlin/com/ambientaddons/events/GuiContainerEvent.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/main/kotlin/com/ambientaddons/events/GuiContainerEvent.kt') 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 -- cgit