forked from VoxeLibre/VoxeLibre
Removed minetest drowning damage check from mcl_damage
This commit is contained in:
parent
8906e57f33
commit
ddbb36960c
|
@ -111,8 +111,6 @@ function mcl_damage.from_mt(mt_reason)
|
|||
mcl_reason.type = mt_reason._mcl_type
|
||||
elseif mt_reason.type == "fall" then
|
||||
mcl_reason.type = "fall"
|
||||
elseif mt_reason.type == "drown" then
|
||||
mcl_reason.type = "drown"
|
||||
elseif mt_reason.type == "punch" then
|
||||
mcl_damage.from_punch(mcl_reason, mt_reason.object)
|
||||
elseif mt_reason.type == "node_damage" and mt_reason.node then
|
||||
|
|
Loading…
Reference in New Issue