mirror of
https://github.com/Sokomine/cottages.git
synced 2025-04-20 19:10:25 +02:00
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…
x
Reference in New Issue
Block a user