1
0
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:
LeMagnesium 2014-12-19 21:41:28 +01:00
parent fa4dc2f3ec
commit 06515d42ed

View File

@ -110,7 +110,7 @@ mobs:register_arrow("mobs:fireball", {
local excluding = minetest.registered_nodes[n].groups["unbreakable"] ~= nil
or n:split(":")[1] == "nether"
for _,i in ipairs(excluded) do
if i == n then including = true end
if i == n then excluding = true end
end
--if p.y < -19600 and including and n:split(":")[1] == "nether" then