From 2b08be6d8bb2249a066afbb4cb961fa390ba591a Mon Sep 17 00:00:00 2001 From: Imisnew Date: Sat, 3 Dec 2022 00:42:39 +0900 Subject: [PATCH] Revert "[shortcuts] Pass valid commands through if target and command is valid" This reverts commit 3c94fd5613fabad7215173d0d497a310df48e5e9. --- addons/shortcuts/shortcuts.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/shortcuts/shortcuts.lua b/addons/shortcuts/shortcuts.lua index 9d05fa40e..a2f5da526 100644 --- a/addons/shortcuts/shortcuts.lua +++ b/addons/shortcuts/shortcuts.lua @@ -290,7 +290,7 @@ function command_logic(original,modified) windower.send_command('@input '..lastsent) return '',false end - elseif command2_list[command] or (command_list[command] and valid_target(potential_targ)) then + elseif command2_list[command] then -- If the submitted command does not require ability interpretation and is fine already, send it out. lastsent = '' if logging then