Fix missing )

This commit is contained in:
Auke Kok 2021-07-09 22:25:25 -07:00
parent 6af528b74f
commit 8a700c4b6b

View File

@ -74,7 +74,7 @@ function perks.grant(name_or_player)
if accepted >= 3 then
local pmeta = player:get_meta()
local limit = tonumber(pmeta:get_string("box_create_limit") or 3
local limit = tonumber(pmeta:get_string("box_create_limit")) or 3
if limit <= 3 then
minetest.log("perks: granted more boxes to " .. name)
announce.all(name .. " has been granted the more boxes perk!")