diff --git a/mods/default/item_entity.lua b/mods/default/item_entity.lua index c34e60e..c37c58f 100644 --- a/mods/default/item_entity.lua +++ b/mods/default/item_entity.lua @@ -39,8 +39,8 @@ local item = { }) end, - on_step = function(self, dtime) - builtin_item.on_step(self, dtime) + on_step = function(self, dtime, ...) + builtin_item.on_step(self, dtime, ...) if self.flammable then -- flammable, check for igniters diff --git a/mods/mobs_jam/balrog.lua b/mods/mobs_jam/balrog.lua index 0299e47..c7418b5 100644 --- a/mods/mobs_jam/balrog.lua +++ b/mods/mobs_jam/balrog.lua @@ -117,7 +117,7 @@ if (PATH_FINDER == nil) then PATH_FINDER = 1 end -local enable_tnt = minetest.settings:get_bool("enable_tnt") +local enable_tnt = minetest.settings:get_bool("enable_tnt") or minetest.settings:get("enable_tnt") or false local spawn_nodes = {"group:stone"} if minetest.get_modpath("nether") then