Skip to content

Commit

Permalink
v1.0.1
Browse files Browse the repository at this point in the history
Fix issue when using Shortcuts with the default target (e.g. `sta @ALL stone`).
  • Loading branch information
DiscipleOfEris committed Jan 4, 2019
1 parent f98fe6a commit d645d04
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sendtarget.lua
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
_addon.name = 'SendTarget'
_addon.author = 'DiscipleOfEris'
_addon.version = '1.0.0'
_addon.version = '1.0.1'
_addon.commands = {'sendtarget', 'sta'}

require('tables')
Expand Down Expand Up @@ -49,7 +49,7 @@ windower.register_event('addon command', function(command, ...)

command_queue:insert({char=args[1]:lower(), ts=os.time(), handled=false})
else
if #args <= 1 then
if #args == 0 then
log('You must provide some input to send. For example, //sta @others /ma "Cure III" <stpc>')
return
end
Expand Down

0 comments on commit d645d04

Please sign in to comment.