Skip to content

Commit

Permalink
Remove arrow restriction on live as well as include the fix tom rus did.
Browse files Browse the repository at this point in the history
  • Loading branch information
MysticalOS committed Sep 15, 2014
1 parent dbaa004 commit 52a895e
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions DBM-Core/DBM-Core.lua
Original file line number Diff line number Diff line change
Expand Up @@ -1463,10 +1463,6 @@ SlashCmdList["DEADLYBOSSMODS"] = function(msg)
DBM:AddMsg(DBM_CORE_LAG_CHECKING)
DBM:Schedule(5, function() DBM:ShowLag() end)
elseif cmd:sub(1, 5) == "arrow" then
if not IsInRaid() then
DBM:AddMsg(DBM_ARROW_NO_RAIDGROUP)
return false
end
local x, y = string.split(" ", cmd:sub(6):trim())
local xNum, yNum = tonumber(x or ""), tonumber(y or "")
local success
Expand All @@ -1487,8 +1483,8 @@ SlashCmdList["DEADLYBOSSMODS"] = function(msg)
elseif subCmd:upper() == "FOCUS" then
DBM.Arrow:ShowRunTo("focus")
success = true
elseif DBM:GetRaidUnitId(DBM:Capitalize(subCmd)) then
DBM.Arrow:ShowRunTo(DBM:Capitalize(subCmd))
elseif DBM:GetRaidUnitId(subCmd) then
DBM.Arrow:ShowRunTo(subCmd)
success = true
end
end
Expand Down

0 comments on commit 52a895e

Please sign in to comment.