From 06fd75421607c97c861cc4e9034b73e5f82af91f Mon Sep 17 00:00:00 2001 From: OgelGames Date: Fri, 7 Jan 2022 13:42:08 +1100 Subject: [PATCH] fix `pipeworks_enable_items_per_tube_limit` setting fixes #7 --- item_transport.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/item_transport.lua b/item_transport.lua index e1ee192..76fe538 100644 --- a/item_transport.lua +++ b/item_transport.lua @@ -1,5 +1,5 @@ local luaentity = pipeworks.luaentity -local enable_max_limit = minetest.settings:get("pipeworks_enable_items_per_tube_limit") +local enable_max_limit = minetest.settings:get_bool("pipeworks_enable_items_per_tube_limit") local max_tube_limit = tonumber(minetest.settings:get("pipeworks_max_items_per_tube")) or 30 if enable_max_limit == nil then enable_max_limit = true end