aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-03-31 16:40:13 +0200
committerhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-03-31 16:40:13 +0200
commit51fcc0ed715bc476c25443585743e8a681a6d793 (patch)
treefcb675bcd68b94d07050f0d8cd4a3535fe76c5b7 /src
parent4033258d179366121d6c2b0c2673b0e28054ccaa (diff)
downloadskyhanni-51fcc0ed715bc476c25443585743e8a681a6d793.tar.gz
skyhanni-51fcc0ed715bc476c25443585743e8a681a6d793.tar.bz2
skyhanni-51fcc0ed715bc476c25443585743e8a681a6d793.zip
Fixed wrong crop name format in some messages
Diffstat (limited to 'src')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/garden/CropType.kt4
1 files changed, 4 insertions, 0 deletions
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 }