1
0

FIX: Returning list when using help instead of just queried item. Fixes #1

This commit is contained in:
Kwarde 2024-01-16 16:06:49 +01:00
parent 8fd6a74bb1
commit bb6e1239e3

View File

@ -41,7 +41,7 @@ def get_player_spell_from_input(player: Player):
continue
elif player_input.find("help", 0) != -1:
find_what = player_input[5:]
spell = find_spell_by_name(find_what)
spell = find_spell_by_name(find_what)[0]
if spell == spell_none:
print("<!> Spell '{what}' does not exist!".format(what=find_what))