From 6dd8cecc7111b66349cddb8858e152d381facc68 Mon Sep 17 00:00:00 2001 From: teknomunk Date: Thu, 26 Dec 2024 08:07:53 -0600 Subject: [PATCH] Remove duplicate function (manual rebase error) --- mods/CORE/mcl_util/init.lua | 9 --------- 1 file changed, 9 deletions(-) diff --git a/mods/CORE/mcl_util/init.lua b/mods/CORE/mcl_util/init.lua index 507f10b19..b9c510390 100644 --- a/mods/CORE/mcl_util/init.lua +++ b/mods/CORE/mcl_util/init.lua @@ -753,12 +753,3 @@ function mcl_util.remove_entity(luaentity) luaentity.object:remove() end -function mcl_util.remove_entity(luaentity) - if luaentity._removed then return end - luaentity._removed = true - - local hook = luaentity._on_remove - if hook then hook(luaentity) end - - luaentity.object:remove() -end