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 81d7449 commit a8b4e04Copy full SHA for a8b4e04
lib/misc.lua
@@ -187,6 +187,7 @@ function Cryptid.pluralize(str, vars)
187
if type(num) == "string" then
188
num = (Big and to_number(to_big(num))) or num
189
end
190
+ if not num then num = 1 end
191
local plural = _table[1] -- default
192
local checks = { [1] = "=" } -- checks 1 by default
193
local checks1mod = false -- tracks if 1 was modified
0 commit comments