diff --git a/src/rotation.lua b/src/rotation.lua index 831b74c..668c62f 100644 --- a/src/rotation.lua +++ b/src/rotation.lua @@ -134,6 +134,11 @@ function TranqRotate:isPlayerNextTranq() local player = TranqRotate:getHunter(nil, UnitGUID("player")) + -- Non hunter user + if (player == nil) then + return false + end + if (not player.nextTranq) then local isRotationInitialized = false;