From 6b9cb0062d98a49432a8b3e86909f9769a69de90 Mon Sep 17 00:00:00 2001 From: cora Date: Thu, 26 May 2022 15:16:06 +0200 Subject: [PATCH] save home coords in cat entity as well --- mods/MAPGEN/mcl_structures/init.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/mods/MAPGEN/mcl_structures/init.lua b/mods/MAPGEN/mcl_structures/init.lua index 322874d4c..5d3ecac6c 100644 --- a/mods/MAPGEN/mcl_structures/init.lua +++ b/mods/MAPGEN/mcl_structures/init.lua @@ -290,6 +290,7 @@ local function spawn_witch(p1,p2) witch.can_despawn = false cat.object:set_properties({textures = {"mobs_mc_cat_black.png"}}) cat.owner = "!witch!" --so it's not claimable by player + cat._home = c cat.can_despawn = false return end