This commit is contained in:
deathbybandaid 2022-02-23 14:31:55 -05:00
parent 4046df9602
commit bfbd4135c8

View File

@ -30,7 +30,7 @@ def prerun(rulematch=False):
# If the original trigger is not the same after && split # If the original trigger is not the same after && split
# so we will now redispatch to help get the correct function passed # so we will now redispatch to help get the correct function passed
trigger_command = sb.commands.get_command_from_trigger(trigger) trigger_command = sb.commands.get_command_from_trigger(trigger)
if trigger_command != commands[0]["trigger_command"] and "&&" in trigger.args[1]: if trigger_command != commands[0]["trigger_command"]:
sb.commands.dispatch(commands[0]) sb.commands.dispatch(commands[0])
return return