mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-11-29 14:01:07 +01:00
Armor stand: Remove legacy entity
This commit is contained in:
parent
a52976a918
commit
89afec17b1
1 changed files with 9 additions and 0 deletions
|
@ -299,4 +299,13 @@ minetest.register_craft({
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
||||||
|
-- Legacy handling
|
||||||
minetest.register_alias("3d_armor_stand:armor_stand", "mcl_armor_stand:armor_stand")
|
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,
|
||||||
|
})
|
||||||
|
|
Loading…
Reference in a new issue