diff --git a/build.gradle b/build.gradle index 4bbdf44..1487f2f 100644 --- a/build.gradle +++ b/build.gradle @@ -16,7 +16,7 @@ repositories { dependencies { api 'com.github.Minestom:Minestom:ef53559349' - api 'com.github.TeamSkyBeach:KStom:86d37c4edb' + api 'com.github.Project-Cepi:KStom:8581ed41f9' implementation "com.charleskorn.kaml:kaml:0.43.0" // Get the latest version number from https://github.com/charleskorn/kaml/releases/latest diff --git a/src/main/kotlin/cc/lixou/stracciatella/item/impl/PlaceholderItem.kt b/src/main/kotlin/cc/lixou/stracciatella/item/impl/PlaceholderItem.kt index 3012bc9..371f2be 100644 --- a/src/main/kotlin/cc/lixou/stracciatella/item/impl/PlaceholderItem.kt +++ b/src/main/kotlin/cc/lixou/stracciatella/item/impl/PlaceholderItem.kt @@ -6,14 +6,14 @@ import net.minestom.server.event.player.PlayerSwapItemEvent import net.minestom.server.event.player.PlayerUseItemEvent import net.minestom.server.item.ItemHideFlag import net.minestom.server.item.Material -import world.cepi.kstom.adventure.formatMini +import world.cepi.kstom.adventure.asMini object PlaceholderItem : CustomItem( "stracciatella:placeholder", Material.BEDROCK, { it.meta { meta -> - meta.displayName("".formatMini()) + meta.displayName("".asMini()) meta.hideFlag( ItemHideFlag.HIDE_ATTRIBUTES, ItemHideFlag.HIDE_DYE, @@ -35,5 +35,4 @@ object PlaceholderItem : CustomItem( event.isCancelled = true } } -) { -} \ No newline at end of file +) \ No newline at end of file