Options: add a way to get all option names (for selection menus or such)

This commit is contained in:
Fabian Dill
2021-08-03 19:09:37 +02:00
parent 230d9d993e
commit 3c1ac134f2
3 changed files with 12 additions and 9 deletions

View File

@@ -41,7 +41,7 @@ class MinecraftLogic(LogicMixin):
# Difficulty-dependent functions
def _mc_combat_difficulty(self, player: int):
return self.world.combat_difficulty[player].get_option_name()
return self.world.combat_difficulty[player].get_current_option_name()
def _mc_can_adventure(self, player: int):
if self._mc_combat_difficulty(player) == 'easy':