From 2323ff7f570f32b3f273e76e39881e62f95733f9 Mon Sep 17 00:00:00 2001 From: iceman1001 Date: Thu, 12 Nov 2020 19:33:49 +0100 Subject: [PATCH] fix bad formatt string (thanks @vortix) --- client/lualibs/7816_error.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/lualibs/7816_error.lua b/client/lualibs/7816_error.lua index 15f4ef471..2ddf04133 100644 --- a/client/lualibs/7816_error.lua +++ b/client/lualibs/7816_error.lua @@ -68,7 +68,7 @@ end _errorcodes.tostring = function(command) if(type(command) == 'string') then - return ("%s (%d)"):format(_reverse_lookup[command] or "ERROR UNDEFINED!", command) + return ("%s (%s)"):format(_reverse_lookup[command] or "ERROR UNDEFINED!", command) end if(type(command) == 'number') then return ("%s (%d)"):format(_reverse_lookup[ tostring(command)] or "ERROR UNDEFINED!", command)