mirror of
https://github.com/sys4-fr/server-nalc.git
synced 2024-11-16 07:20:31 +01:00
Restor immortal group for pclasses:item entity (for pedestals)
- Helps for #216
This commit is contained in:
parent
5552f0a5bf
commit
3b45ad5a31
|
@ -49,7 +49,7 @@ minetest.register_entity("pclasses:item", {
|
|||
on_activate = function(self, staticdata)
|
||||
self.itemname = staticdata:split("|")[1]
|
||||
self.class = staticdata:split("|")[2]
|
||||
-- self.object:set_armor_groups({immortal=1})
|
||||
self.object:set_armor_groups({immortal=1})
|
||||
self:set_item(self.itemname)
|
||||
end,
|
||||
get_staticdata = function(self)
|
||||
|
|
Loading…
Reference in New Issue
Block a user