Fixed a problem

This commit is contained in:
NikolajDanger
2020-04-02 17:10:30 +02:00
parent 84809bf5ea
commit 48479ee62a

View File

@ -294,7 +294,7 @@ def parseRoll(user : str,cmd : str = ""):
elif commands[x][0] == "F": elif commands[x][0] == "F":
rollParameters[6] = int(commands[x].replace("F","")) rollParameters[6] = int(commands[x].replace("F",""))
else: else:
rollParameters[x-1] = int(commands[x-1]) rollParameters[x] = int(commands[x])
except: except:
logThis("Someone fucked u-up! (it was them)") logThis("Someone fucked u-up! (it was them)")
return "Invalid input!" return "Invalid input!"