mirror of
https://github.com/Sokomine/cottages.git
synced 2025-07-04 09:00:21 +02:00
make entities more immortal
This commit is contained in:
@ -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,
|
||||
|
Reference in New Issue
Block a user