forked from mtcontrib/pipeworks
default breaking code to "enabled" and lower the default limit to 30.
This commit is contained in:
parent
2aa9556748
commit
f3a74bb618
@ -1,6 +1,7 @@
|
||||
local luaentity = pipeworks.luaentity
|
||||
local enable_max_limit = minetest.setting_get("pipeworks_enable_items_per_tube_limit")
|
||||
local max_tube_limit = tonumber(minetest.setting_get("pipeworks_max_items_per_tube")) or 40
|
||||
local max_tube_limit = tonumber(minetest.setting_get("pipeworks_max_items_per_tube")) or 30
|
||||
if enable_max_limit == nil then enable_max_limit = true end
|
||||
|
||||
function pipeworks.tube_item(pos, item)
|
||||
error("obsolete pipeworks.tube_item() called; change caller to use pipeworks.tube_inject_item() instead")
|
||||
|
Loading…
Reference in New Issue
Block a user