We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2a3ec95 commit afefa68Copy full SHA for afefa68
lib/misc.lua
@@ -184,7 +184,9 @@ function Cryptid.pluralize(str, vars)
184
table.insert(_table, v)
185
end
186
local num = vars[tonumber(string.match(str, ">(%d+)"))] -- gets reference variable
187
- if type(num) == 'string' then num = (Big and to_number(to_big(num))) or num end
+ if type(num) == "string" then
188
+ num = (Big and to_number(to_big(num))) or num
189
+ end
190
local plural = _table[1] -- default
191
local checks = { [1] = "=" } -- checks 1 by default
192
local checks1mod = false -- tracks if 1 was modified
0 commit comments