fix missing infinite stacks detection on signs lib

This commit is contained in:
Vanessa Ezekowitz 2014-03-14 12:09:59 -04:00
parent a9d42ea19d
commit ab4b89d76b

View File

@ -31,6 +31,14 @@ function signs_lib.table_copy(t)
return nt return nt
end end
-- infinite stacks
if minetest.get_modpath("unified_inventory") or not minetest.setting_getbool("creative_mode") then
signs_lib.expect_infinite_stacks = false
else
signs_lib.expect_infinite_stacks = true
end
-- CONSTANTS -- CONSTANTS
local MP = minetest.get_modpath("signs_lib") local MP = minetest.get_modpath("signs_lib")