From 03c2647c015f8b745ee9d8dda6d32a3ad426adc2 Mon Sep 17 00:00:00 2001 From: Tech Date: Mon, 7 Aug 2023 16:39:31 -0400 Subject: [PATCH] fix: nextAvailableSlot setting in the wrong slot. --- build.gradle.kts | 2 +- src/main/kotlin/me/tech/mcchestui/GUI.kt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/build.gradle.kts b/build.gradle.kts index 6856d44..5cd539d 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -8,7 +8,7 @@ val githubActor = project.findProperty("gpr.user") as String? ?: System.getenv(" val githubToken = project.findProperty("gpr.key") as String? ?: System.getenv("GITHUB_TOKEN") group = "me.tech" -version = "1.0.2" +version = "1.0.3" repositories { mavenCentral() diff --git a/src/main/kotlin/me/tech/mcchestui/GUI.kt b/src/main/kotlin/me/tech/mcchestui/GUI.kt index 153792f..ef1f393 100644 --- a/src/main/kotlin/me/tech/mcchestui/GUI.kt +++ b/src/main/kotlin/me/tech/mcchestui/GUI.kt @@ -180,7 +180,7 @@ class GUI( return } - slot(firstEmptySlot + 1, builder) + slot(firstEmptySlot, builder) } @EventHandler(priority = EventPriority.HIGHEST)