From bf5533799d553cee648361bd4d391ae35f39b5af Mon Sep 17 00:00:00 2001 From: cora Date: Thu, 10 Feb 2022 20:48:41 +0100 Subject: [PATCH] fix another compatibility issue --- mods/ITEMS/mcl_bows/arrow.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/mods/ITEMS/mcl_bows/arrow.lua b/mods/ITEMS/mcl_bows/arrow.lua index c61dfc26c..c772ebcef 100644 --- a/mods/ITEMS/mcl_bows/arrow.lua +++ b/mods/ITEMS/mcl_bows/arrow.lua @@ -506,6 +506,7 @@ function ARROW_ENTITY.on_activate(self, staticdata, dtime_s) end minetest.register_on_respawnplayer(function(player) + if not player:get_children then return end for _, obj in pairs(player:get_children()) do local ent = obj:get_luaentity() if ent and ent.name and string.find(ent.name, "mcl_bows:arrow_entity") then