diff options
author | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-03-31 16:40:13 +0200 |
---|---|---|
committer | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-03-31 16:40:13 +0200 |
commit | 51fcc0ed715bc476c25443585743e8a681a6d793 (patch) | |
tree | fcb675bcd68b94d07050f0d8cd4a3535fe76c5b7 /src | |
parent | 4033258d179366121d6c2b0c2673b0e28054ccaa (diff) | |
download | skyhanni-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.kt | 4 |
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 } |