forked from VoxeLibre/VoxeLibre
Remove debug
This commit is contained in:
parent
37617db245
commit
7879be078c
|
@ -100,7 +100,6 @@ end
|
||||||
mcl_damage.register_modifier(function(obj, damage, reason)
|
mcl_damage.register_modifier(function(obj, damage, reason)
|
||||||
local type = reason.type
|
local type = reason.type
|
||||||
local damager = reason.direct
|
local damager = reason.direct
|
||||||
minetest.chat_send_all(dump(damager))
|
|
||||||
if obj:is_player() and mcl_shields.is_blocking(obj) and mcl_shields.types[type] and damager then
|
if obj:is_player() and mcl_shields.is_blocking(obj) and mcl_shields.types[type] and damager then
|
||||||
local entity = damager:get_luaentity()
|
local entity = damager:get_luaentity()
|
||||||
if entity and (type == "arrow" or type == "generic") then
|
if entity and (type == "arrow" or type == "generic") then
|
||||||
|
|
Loading…
Reference in New Issue