Armor stand: Remove legacy entity

This commit is contained in:
Wuzzy 2020-02-18 16:13:37 +01:00
parent a52976a918
commit 89afec17b1

View file

@ -299,4 +299,13 @@ minetest.register_craft({
}
})
-- Legacy handling
minetest.register_alias("3d_armor_stand:armor_stand", "mcl_armor_stand:armor_stand")
minetest.register_entity(":3d_armor_stand:armor_entity", {
on_activate = function(self)
minetest.log("action", "[mcl_armor_stand] Removing legacy entity: 3d_armor_stand:armor_entity")
self.object:remove()
end,
static_save = false,
})