Skip to content

Commit

Permalink
🆙 Updated KStom
Browse files Browse the repository at this point in the history
  • Loading branch information
DasLixou committed May 9, 2022
1 parent 0f3cc90 commit b58587f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -35,5 +35,4 @@ object PlaceholderItem : CustomItem(
event.isCancelled = true
}
}
) {
}
)

0 comments on commit b58587f

Please sign in to comment.