forked from VoxeLibre/VoxeLibre
Armor stand: Remove legacy entity
This commit is contained in:
parent
a52976a918
commit
89afec17b1
|
@ -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,
|
||||
})
|
||||
|
|
Loading…
Reference in New Issue