From b60d8d418fba59dd05997674b5aa0491db8c7c09 Mon Sep 17 00:00:00 2001 From: bluefireoly Date: Thu, 29 Oct 2020 22:29:41 +0100 Subject: [PATCH] Shortened code --- .../kotlin/net/axay/kspigot/gui/GUIBuilder.kt | 15 ++------------- 1 file changed, 2 insertions(+), 13 deletions(-) diff --git a/src/main/kotlin/net/axay/kspigot/gui/GUIBuilder.kt b/src/main/kotlin/net/axay/kspigot/gui/GUIBuilder.kt index d34a2be1..15470118 100644 --- a/src/main/kotlin/net/axay/kspigot/gui/GUIBuilder.kt +++ b/src/main/kotlin/net/axay/kspigot/gui/GUIBuilder.kt @@ -243,13 +243,7 @@ class GUIPageBuilder( reverse: Boolean = false ) = defineSlots( slots, - GUISpaceCompoundScrollButton( - icon, - compound, - scrollDistance.absoluteValue, - scrollTimes, - reverse - ) + GUISpaceCompoundScrollButton(icon, compound, scrollDistance.absoluteValue, scrollTimes, reverse) ) /** @@ -264,12 +258,7 @@ class GUIPageBuilder( reverse: Boolean = false ) = defineSlots( slots, - GUISpaceCompoundScrollButton( - icon, - compound, - scrollTimes, - reverse - ) + GUISpaceCompoundScrollButton(icon, compound, scrollTimes, reverse) ) } \ No newline at end of file