From 51fcc0ed715bc476c25443585743e8a681a6d793 Mon Sep 17 00:00:00 2001 From: hannibal2 <24389977+hannibal00212@users.noreply.github.com> Date: Fri, 31 Mar 2023 16:40:13 +0200 Subject: Fixed wrong crop name format in some messages --- src/main/java/at/hannibal2/skyhanni/features/garden/CropType.kt | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/main/java/at') diff --git a/src/main/java/at/hannibal2/skyhanni/features/garden/CropType.kt b/src/main/java/at/hannibal2/skyhanni/features/garden/CropType.kt index 18e701cb5..5de01ffaa 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/garden/CropType.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/garden/CropType.kt @@ -13,6 +13,10 @@ enum class CropType(val cropName: String, val toolName: String) { MUSHROOM("Mushroom", "FUNGI_CUTTER"), ; + override fun toString(): String { + return cropName + } + companion object { fun getByName(name: String) = values().firstOrNull { it.cropName == name } -- cgit