1
0
mirror of https://github.com/sys4-fr/server-nalc.git synced 2024-12-24 01:30:38 +01:00

add tnt sound file for creepers and remove add_item sur explode

This commit is contained in:
crabman77 2015-03-21 23:03:49 +01:00
parent 1dc7378e53
commit 68cb3d2a3b
2 changed files with 2 additions and 2 deletions

View File

@ -610,7 +610,7 @@ function mobs:register_mob(name, def)
--activate_if_tnt(n.name, np, pos, 3) -- Pas de module TNT sur le serveur donc inutile
minetest.remove_node(np)
nodeupdate(np)
if n.name ~= "tnt:tnt" and math.random() > 0.9 then
--[[ if n.name ~= "tnt:tnt" and math.random() > 0.9 then
local drop = minetest.get_node_drops(n.name, "")
for _,item in ipairs(drop) do
if type(item) == "string" then
@ -619,7 +619,7 @@ function mobs:register_mob(name, def)
end
end
end
end
end ]]
end
end
end

Binary file not shown.