From af0cc383e58110d9ebe496b1694f1feb27b14987 Mon Sep 17 00:00:00 2001 From: DBotThePony Date: Wed, 28 Aug 2024 18:32:02 +0700 Subject: [PATCH] TranslatableContents' arguments must be either a Component, Number, Boolean, or a String. Was given 5fe287af-95ca-46ac-a624-c2f4abc46362 for otm.item.quantum_link_id --- .../kotlin/ru/dbotthepony/mc/otm/item/QuantumBatteryItem.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/kotlin/ru/dbotthepony/mc/otm/item/QuantumBatteryItem.kt b/src/main/kotlin/ru/dbotthepony/mc/otm/item/QuantumBatteryItem.kt index 3af787711..f310d04d2 100644 --- a/src/main/kotlin/ru/dbotthepony/mc/otm/item/QuantumBatteryItem.kt +++ b/src/main/kotlin/ru/dbotthepony/mc/otm/item/QuantumBatteryItem.kt @@ -312,7 +312,7 @@ class QuantumBatteryItem(val savedataID: String, val balanceValues: EnergyBalanc components.add(TranslatableComponent("otm.item.quantum_battery.creative2").withStyle(ChatFormatting.DARK_GRAY)) } - components.add(TranslatableComponent("otm.item.quantum_link_id", power.values.uuid).withStyle(ChatFormatting.DARK_GRAY)) + components.add(TranslatableComponent("otm.item.quantum_link_id", power.values.uuid.toString()).withStyle(ChatFormatting.DARK_GRAY)) } companion object {