Fix server boolean variable bug

master
Joachim Stolberg 2021-02-07 14:33:20 +01:00
parent dfc49e127b
commit ae74f90532
1 changed files with 2 additions and 0 deletions

View File

@ -122,6 +122,8 @@ minetest.register_craft({
local function calc_size(v)
if type(v) == "number" then
return 1
elseif type(v) == "boolean" then
return 1
elseif v == nil then
return 0
elseif type(v) == "string" then