mirror of
https://github.com/sys4-fr/server-nalc.git
synced 2025-01-11 18:40:25 +01:00
Fixing anti-explosion system for excluded nodes
- Changed the name of the variable in the parse system to SIMPLY MAKE IT ABLE TO WORK FINE!
This commit is contained in:
parent
fa4dc2f3ec
commit
06515d42ed
@ -110,7 +110,7 @@ mobs:register_arrow("mobs:fireball", {
|
|||||||
local excluding = minetest.registered_nodes[n].groups["unbreakable"] ~= nil
|
local excluding = minetest.registered_nodes[n].groups["unbreakable"] ~= nil
|
||||||
or n:split(":")[1] == "nether"
|
or n:split(":")[1] == "nether"
|
||||||
for _,i in ipairs(excluded) do
|
for _,i in ipairs(excluded) do
|
||||||
if i == n then including = true end
|
if i == n then excluding = true end
|
||||||
end
|
end
|
||||||
|
|
||||||
--if p.y < -19600 and including and n:split(":")[1] == "nether" then
|
--if p.y < -19600 and including and n:split(":")[1] == "nether" then
|
||||||
|
Loading…
Reference in New Issue
Block a user