mirror of
https://github.com/sys4-fr/server-nalc.git
synced 2024-11-15 23:10:31 +01:00
Added back nether's lock on DMs' fireballs' explosions
- DMs cannot damage nether anymore
This commit is contained in:
parent
8a5a1a9acc
commit
542e999761
|
@ -1329,7 +1329,8 @@ function mobs:explosion(pos, radius, fire, smoke, sound)
|
||||||
p.x = pos.x + x
|
p.x = pos.x + x
|
||||||
p.y = pos.y + y
|
p.y = pos.y + y
|
||||||
p.z = pos.z + z
|
p.z = pos.z + z
|
||||||
if data[vi] ~= c_air and data[vi] ~= c_ignore
|
if p.y >= 19600
|
||||||
|
and data[vi] ~= c_air and data[vi] ~= c_ignore
|
||||||
and data[vi] ~= c_obsidian and data[vi] ~= c_brick
|
and data[vi] ~= c_obsidian and data[vi] ~= c_brick
|
||||||
and data[vi] ~= c_chest then
|
and data[vi] ~= c_chest then
|
||||||
local n = minetest.get_node(p).name
|
local n = minetest.get_node(p).name
|
||||||
|
|
Loading…
Reference in New Issue
Block a user