Remove duplicate function (manual rebase error)
This commit is contained in:
parent
87d62092cc
commit
3f46519954
@ -753,12 +753,3 @@ function mcl_util.remove_entity(luaentity)
|
|||||||
|
|
||||||
luaentity.object:remove()
|
luaentity.object:remove()
|
||||||
end
|
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
|
|
||||||
|
Loading…
Reference in New Issue
Block a user