From 9dfc64b383ce79b01f9a8a9c7ca16e1ae54f802e Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Wed, 4 Jan 2017 10:05:46 +0100 Subject: [PATCH] Set default stack_max --- mods/default/init.lua | 3 +++ 1 file changed, 3 insertions(+) diff --git a/mods/default/init.lua b/mods/default/init.lua index ef9984278d..6eaed5ae5a 100644 --- a/mods/default/init.lua +++ b/mods/default/init.lua @@ -10,6 +10,9 @@ LIGHT_MAX = 20 -- Definitions made by this mod that other mods can use too default = {} +minetest.nodedef_default.stack_max = 64 +minetest.craftitemdef_default.stack_max = 64 + -- Load files dofile(minetest.get_modpath("default").."/functions.lua") dofile(minetest.get_modpath("default").."/nodes.lua")