More changes
This commit is contained in:
@@ -346,7 +346,7 @@ local function tnt_explode(pos, radius, ignore_protection, ignore_on_blast, owne
|
||||
|
||||
-- What I'm trying to do is to make the explosions only affect nodes that are in a specific group
|
||||
|
||||
if cid ~= c_air and cid ~= c_ignore and minetest.get_item_group(minetest.get_name_from_content_id(cid), "cracky") < 2 then
|
||||
if cid ~= c_air and cid ~= c_ignore and minetest.get_item_group(minetest.get_name_from_content_id(cid), "cracky") > 2 then
|
||||
data[vi] = destroy(drops, p, cid, c_air, c_fire, on_blast_queue, on_construct_queue, ignore_protection, ignore_on_blast, owner)
|
||||
destruction_counter.nodesDestroyed = destruction_counter.nodesDestroyed + 1
|
||||
destruction_counter.updateCounter(owner)
|
||||
|
||||
Reference in New Issue
Block a user