mirror of
https://github.com/sys4-fr/server-nalc.git
synced 2024-12-25 02:00:37 +01:00
parent
2cd80bccf1
commit
7f78ccf906
@ -1340,7 +1340,7 @@ function mobs:explosion(pos, radius, fire, smoke, sound)
|
|||||||
and not minetest.is_protected(p, "") --/MFF (Crabman|06/23/2015) re-added node protected in areas
|
and not minetest.is_protected(p, "") --/MFF (Crabman|06/23/2015) re-added node protected in areas
|
||||||
and minetest.get_item_group(n, "unbreakable") ~= 1 then
|
and minetest.get_item_group(n, "unbreakable") ~= 1 then
|
||||||
-- if chest then drop items inside
|
-- if chest then drop items inside
|
||||||
if n == "default:chest" then
|
if n == "default:chest" or n == "3dchest:chest" then
|
||||||
local meta = minetest.get_meta(p)
|
local meta = minetest.get_meta(p)
|
||||||
local inv = meta:get_inventory()
|
local inv = meta:get_inventory()
|
||||||
for i = 1,32 do
|
for i = 1,32 do
|
||||||
|
Loading…
Reference in New Issue
Block a user