Fix string formatting in Main.kill error message

main
AreiaAard 4 years ago
parent 7694725eac
commit 9657e8e05f

@ -81,7 +81,7 @@ function Main.kill(alias, line, wc)
-- the right one -- the right one
local mob = Consider.mobs[#Consider.mobs + 1 - index] local mob = Consider.mobs[#Consider.mobs + 1 - index]
if (not mob) then if (not mob) then
Utility.print("There are only %d mobs currently indexed. Enter @Yac @wto refresh.") Utility.print(string.format("There are only %d mobs currently indexed. Enter @Yac @wto refresh.", #Consider.mobs))
return return
end end
if (mob.ignore) then if (mob.ignore) then

Loading…
Cancel
Save