Removed minetest drowning damage check from mcl_damage

This commit is contained in:
WillConker 2024-06-10 13:49:48 +01:00
parent 8906e57f33
commit ddbb36960c
1 changed files with 0 additions and 2 deletions

View File

@ -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