aboutsummaryrefslogtreecommitdiff
path: root/src/main/kotlin/moe/nea/potatocrime/item/ContrabandItem.kt
diff options
context:
space:
mode:
authorLinnea Gräf <nea@nea.moe>2024-04-02 03:26:21 +0200
committerLinnea Gräf <nea@nea.moe>2024-04-02 03:26:21 +0200
commit4866f1360529d4d77dbd85c5e23d77a032043667 (patch)
treee4bd36d54ae0e00c3bb955bb0329e0f216e9c2de /src/main/kotlin/moe/nea/potatocrime/item/ContrabandItem.kt
parent856d3242f34f7a787f02b086c0cb4b5b97eb34ca (diff)
downloadpotato-crimes-4866f1360529d4d77dbd85c5e23d77a032043667.tar.gz
potato-crimes-4866f1360529d4d77dbd85c5e23d77a032043667.tar.bz2
potato-crimes-4866f1360529d4d77dbd85c5e23d77a032043667.zip
Make carrots tradeable
Diffstat (limited to 'src/main/kotlin/moe/nea/potatocrime/item/ContrabandItem.kt')
-rw-r--r--src/main/kotlin/moe/nea/potatocrime/item/ContrabandItem.kt4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/kotlin/moe/nea/potatocrime/item/ContrabandItem.kt b/src/main/kotlin/moe/nea/potatocrime/item/ContrabandItem.kt
index 728d84a..06fe573 100644
--- a/src/main/kotlin/moe/nea/potatocrime/item/ContrabandItem.kt
+++ b/src/main/kotlin/moe/nea/potatocrime/item/ContrabandItem.kt
@@ -41,8 +41,8 @@ class ContrabandItem : Item(
context: TooltipContext
) {
val count = stack.getContrabandCount()
- tooltip.add(
- PotatoTranslations.contrabandFillText.format(count.toString()).styled { it.withColor(Formatting.DARK_GRAY) })
+ tooltip.add(PotatoTranslations.contrabandFillText.format(count.toString())
+ .styled { it.withColor(Formatting.DARK_GRAY) })
}
override fun use(world: World, user: PlayerEntity, hand: Hand): TypedActionResult<ItemStack> {