From b2c90d424f06b815358f444f6c164a21cdd0a8a7 Mon Sep 17 00:00:00 2001 From: l4zs Date: Sun, 8 Aug 2021 21:37:20 +0200 Subject: [PATCH] add new line after extension value --- src/main/kotlin/net/axay/kspigot/gui/GUIHolder.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/kotlin/net/axay/kspigot/gui/GUIHolder.kt b/src/main/kotlin/net/axay/kspigot/gui/GUIHolder.kt index abd05d11..54c722ee 100644 --- a/src/main/kotlin/net/axay/kspigot/gui/GUIHolder.kt +++ b/src/main/kotlin/net/axay/kspigot/gui/GUIHolder.kt @@ -78,6 +78,7 @@ object GUIHolder : AutoCloseable { private val InventoryAction.isGUIClick get() = this == InventoryAction.PICKUP_ALL || this == InventoryAction.PICKUP_HALF || this == InventoryAction.PICKUP_SOME || this == InventoryAction.PICKUP_ONE || this == InventoryAction.MOVE_TO_OTHER_INVENTORY + private val InventoryInteractEvent.playerOrCancel: Player? get() = (whoClicked as? Player) ?: kotlin.run { isCancelled = true