mirror of
https://github.com/luanti-org/minetest_game.git
synced 2025-06-07 06:06:10 -04:00
Added on_blast to default chest
Added on_blast function to default chest so that tnt explosions or mob blasts do not destroy it. Also tidied some code.
This commit is contained in:
parent
3ecafbcfb4
commit
898715edf7
1 changed files with 7 additions and 6 deletions
|
@ -1473,6 +1473,7 @@ minetest.register_node("default:chest", {
|
|||
" takes " .. stack:get_name() ..
|
||||
" from chest at " .. minetest.pos_to_string(pos))
|
||||
end,
|
||||
on_blast = function() end,
|
||||
})
|
||||
|
||||
minetest.register_node("default:chest_locked", {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue