This commit is contained in:
deathbybandaid 2022-02-23 13:57:26 -05:00
parent 57bcdbf639
commit 59c2c83ea3

View File

@ -32,11 +32,11 @@ def prerun(rulematch=False):
sb.commands.dispatch(trigger_dict) sb.commands.dispatch(trigger_dict)
return return
# If the original trigger is not the same after && split
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"]: if trigger_command != commands[0]["trigger_command"]:
print("compare time") sb.commands.dispatch(commands[0])
print(trigger_command) return
print(commands[0]["trigger_command"])
# This is where we rebuild trigger # This is where we rebuild trigger
# we validate a few things here # we validate a few things here