make entities more immortal
This commit is contained in:
parent
1d260c12e7
commit
2f01468fc0
|
@ -41,6 +41,10 @@ minetest.register_entity("cottages:anvil_item", {
|
|||
obj:set_armor_groups({immortal = 1})
|
||||
end,
|
||||
|
||||
on_punch = function()
|
||||
return true
|
||||
end,
|
||||
|
||||
on_blast = function(self, damage)
|
||||
return false, false, {}
|
||||
end,
|
||||
|
|
|
@ -29,6 +29,10 @@ minetest.register_entity("cottages:bucket_entity", {
|
|||
obj:set_armor_groups({immortal = 1})
|
||||
end,
|
||||
|
||||
on_punch = function()
|
||||
return true
|
||||
end,
|
||||
|
||||
on_blast = function(self, damage)
|
||||
return false, false, {}
|
||||
end,
|
||||
|
|
Loading…
Reference in New Issue