diff options
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/features/garden/farming/WrongFungiCutterWarning.kt | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/garden/farming/WrongFungiCutterWarning.kt b/src/main/java/at/hannibal2/skyhanni/features/garden/farming/WrongFungiCutterWarning.kt index 46936a7bb..03a48d820 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/garden/farming/WrongFungiCutterWarning.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/garden/farming/WrongFungiCutterWarning.kt @@ -23,7 +23,7 @@ class WrongFungiCutterWarning { if (message == "§eFungi Cutter Mode: §r§cRed Mushrooms") { mode = FungiMode.RED } - if (message == "§eFungi Cutter Mode: §r§cBrown Mushrooms") { + if (message == "§eFungi Cutter Mode: §r§6Brown Mushrooms") { mode = FungiMode.BROWN } } @@ -62,12 +62,13 @@ class WrongFungiCutterWarning { } private fun readItem(item: ItemStack) { + // TODO Update to use NBT data: fungi_cutter_mode: "BROWN" for (line in item.getLore()) { if (line == "§eMode: §cRed Mushrooms") { mode = FungiMode.RED } - if (line == "§eMode: §cBrown Mushrooms") { + if (line == "§eMode: §6Brown Mushrooms") { mode = FungiMode.BROWN } } @@ -78,4 +79,4 @@ class WrongFungiCutterWarning { BROWN, UNKNOWN } -}
\ No newline at end of file +} |