forked from mtcontrib/homedecor_modpack
fix missing infinite stacks detection on signs lib
This commit is contained in:
parent
a9d42ea19d
commit
ab4b89d76b
|
@ -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")
|
||||||
|
|
Loading…
Reference in New Issue
Block a user