Merge pull request 'Fixed typo in mcl_damage' (#3858) from mcl_cached_reason-fix into master

Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/3858
Reviewed-by: 𝕵𝖔𝖍𝖆𝖓𝖓𝖊𝖘 𝕱𝖗𝖎𝖙𝖟 <mrrar@noreply.git.minetest.land>
This commit is contained in:
𝕵𝖔𝖍𝖆𝖓𝖓𝖊𝖘 𝕱𝖗𝖎𝖙𝖟 2023-08-01 21:08:11 +00:00
commit b911da121e

@ -96,8 +96,8 @@ function mcl_damage.finish_reason(mcl_reason)
end
function mcl_damage.from_mt(mt_reason)
if mt_reason._mcl_chached_reason then
return mt_reason._mcl_chached_reason
if mt_reason._mcl_cached_reason then
return mt_reason._mcl_cached_reason
end
local mcl_reason