summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--init.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/init.lua b/init.lua
index 49f950e..f3f840f 100644
--- a/init.lua
+++ b/init.lua
@@ -51,8 +51,8 @@ end
-- infinite stacks checking
-if minetest.get_modpath"unified_inventory"
-or not minetest.settings:get_bool"creative_mode" then
+if minetest.get_modpath("unified_inventory") or not
+ minetest.settings:get_bool("creative_mode") then
moretrees.expect_infinite_stacks = false
else
moretrees.expect_infinite_stacks = true