Fix code to have a default entry on the switch, which is now required.

This commit is contained in:
tastybento 2023-10-11 21:42:45 -07:00
parent 2b65543935
commit dc51bd87b1

View File

@ -286,6 +286,7 @@ public class LangUtilsHook extends Hook {
case LUCK -> "Potion of Luck";
case TURTLE_MASTER -> "Potion of the Turtle Master";
case SLOW_FALLING -> "Potion of Slow Falling";
default -> "Unknown Potion";
};
}
@ -323,6 +324,7 @@ public class LangUtilsHook extends Hook {
case LUCK -> "Splash Potion of Luck";
case TURTLE_MASTER -> "Splash Potion of the Turtle Master";
case SLOW_FALLING -> "Splash Potion of Slow Falling";
default -> "Unknown Splash Potion";
};
}
@ -359,6 +361,7 @@ public class LangUtilsHook extends Hook {
case LUCK -> "Lingering Potion of Luck";
case TURTLE_MASTER -> "Lingering Potion of the Turtle Master";
case SLOW_FALLING -> "Lingering Potion of Slow Falling";
default -> "Unknown Lingering Potion";
};
}
@ -393,6 +396,7 @@ public class LangUtilsHook extends Hook {
case LUCK -> "Arrow of Luck";
case TURTLE_MASTER -> "Arrow of the Turtle Master";
case SLOW_FALLING -> "Arrow of Slow Falling";
default -> "Unknown Arrow";
};
}