From e9eb1f51e8bc27738d7a1525a793a6dda74ce4cc Mon Sep 17 00:00:00 2001 From: Niklp09 <89982526+Niklp09@users.noreply.github.com> Date: Fri, 27 Oct 2023 13:47:52 +0200 Subject: [PATCH] Re-add `grow_reedmace` to global namespace --- dryplants/init.lua | 2 ++ dryplants/reedmace.lua | 2 ++ 2 files changed, 4 insertions(+) diff --git a/dryplants/init.lua b/dryplants/init.lua index 5b808c0..2aec66c 100644 --- a/dryplants/init.lua +++ b/dryplants/init.lua @@ -1,6 +1,8 @@ -- support for i18n local S = minetest.get_translator("dryplants") +abstract_dryplants = {} + dofile(minetest.get_modpath("dryplants").."/crafting.lua") dofile(minetest.get_modpath("dryplants").."/reed.lua") diff --git a/dryplants/reedmace.lua b/dryplants/reedmace.lua index d4771ee..6ecdbde 100644 --- a/dryplants/reedmace.lua +++ b/dryplants/reedmace.lua @@ -71,6 +71,8 @@ local function grow_reedmace_water(pos) end end +abstract_dryplants.grow_reedmace = grow_reedmace -- compatibility + ----------------------------------------------------------------------------------------------- -- REEDMACE SPIKES -----------------------------------------------------------------------------------------------