From 9657e8e05fbe6007e607418ae8e219edc07a9589 Mon Sep 17 00:00:00 2001 From: AreiaAard Date: Wed, 28 Apr 2021 10:59:14 -0400 Subject: [PATCH] Fix string formatting in Main.kill error message --- areia_consider.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/areia_consider.xml b/areia_consider.xml index 74cfaa4..ef4251d 100644 --- a/areia_consider.xml +++ b/areia_consider.xml @@ -81,7 +81,7 @@ function Main.kill(alias, line, wc) -- the right one local mob = Consider.mobs[#Consider.mobs + 1 - index] 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 end if (mob.ignore) then