mirror of
https://github.com/BentoBoxWorld/BentoBox.git
synced 2025-01-25 09:31:46 +01:00
Fix code to have a default entry on the switch, which is now required.
This commit is contained in:
parent
2b65543935
commit
dc51bd87b1
@ -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";
|
||||
};
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user