mirror of
https://github.com/sys4-fr/server-nalc.git
synced 2024-11-05 10:00:26 +01:00
[mobs] Reinforce nether lock in mobs:explosion
This commit is contained in:
parent
3e177a3fc9
commit
892910a2a4
|
@ -1456,7 +1456,8 @@ function mobs:explosion(pos, radius, fire, smoke, sound)
|
|||
local n = node_ok(p).name
|
||||
|
||||
if 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
|
||||
and minetest.get_item_group(n, "nether") == 0 then
|
||||
-- if chest then drop items inside
|
||||
if n == "default:chest"
|
||||
or n == "3dchest:chest" then
|
||||
|
|
Loading…
Reference in New Issue
Block a user