From c04f3bba11b7ad46a71d7c3622af1875f2d2d87e Mon Sep 17 00:00:00 2001 From: Tech <49742865+DebitCardz@users.noreply.github.com> Date: Sat, 3 Feb 2024 22:58:21 -0500 Subject: [PATCH] fix: inventory type (#25) * fix: inventory type * Update build.gradle.kts * Update README.md --- README.md | 4 ++-- build.gradle.kts | 4 ++-- src/main/kotlin/me/tech/mcchestui/GUIType.kt | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 9c64135..cad9085 100644 --- a/README.md +++ b/README.md @@ -21,7 +21,7 @@ repositories { } dependencies { - implementation("com.github.DebitCardz:mc-chestui-plus:1.4.6") + implementation("com.github.DebitCardz:mc-chestui-plus:1.4.7") } ``` ### Maven @@ -34,7 +34,7 @@ dependencies { com.github.DebitCardz mc-chestui-plus - 1.4.6 + 1.4.7 ``` diff --git a/build.gradle.kts b/build.gradle.kts index b57ec53..4da2fff 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.4.6" +version = "1.4.7" repositories { mavenCentral() @@ -49,4 +49,4 @@ publishing { from(components["java"]) } } -} \ No newline at end of file +} diff --git a/src/main/kotlin/me/tech/mcchestui/GUIType.kt b/src/main/kotlin/me/tech/mcchestui/GUIType.kt index 81425f5..7e3c42f 100644 --- a/src/main/kotlin/me/tech/mcchestui/GUIType.kt +++ b/src/main/kotlin/me/tech/mcchestui/GUIType.kt @@ -43,7 +43,7 @@ sealed class GUIType( data object Dispenser : GUIType( slotsPerRow = 3, rows = 3, - inventoryType = InventoryType.HOPPER + inventoryType = InventoryType.DISPENSER ) data object Hopper : GUIType( @@ -51,4 +51,4 @@ sealed class GUIType( rows = 1, inventoryType = InventoryType.HOPPER ) -} \ No newline at end of file +}