Armor is broken due to engine problem
This commit is contained in:
parent
a003f57e52
commit
757a84e7cd
|
@ -207,10 +207,10 @@ if exchangeclone.mcl then
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
-- Until Minetest fixes an issue, there's no way to make this work correctly.
|
||||||
mcl_damage.register_modifier(function(obj, damage, reason)
|
mcl_damage.register_modifier(function(obj, damage, reason)
|
||||||
local start_time = minetest.get_us_time()
|
local start_time = minetest.get_us_time()
|
||||||
if not obj:is_player() then return end
|
if not obj:is_player() then return end
|
||||||
minetest.log(dump({damage, reason}))
|
|
||||||
local inv = mcl_util.get_inventory(obj)
|
local inv = mcl_util.get_inventory(obj)
|
||||||
local blocked = 0
|
local blocked = 0
|
||||||
if inv then
|
if inv then
|
||||||
|
|
Loading…
Reference in New Issue