diff options
Diffstat (limited to 'src/main/java/at/hannibal2')
-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 } |