From 4866f1360529d4d77dbd85c5e23d77a032043667 Mon Sep 17 00:00:00 2001 From: Linnea Gräf Date: Tue, 2 Apr 2024 03:26:21 +0200 Subject: Make carrots tradeable --- src/main/kotlin/moe/nea/potatocrime/item/ContrabandItem.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/main/kotlin/moe/nea/potatocrime/item') 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 { -- cgit