Fix broken kill history with shooter

Fixes #565
This commit is contained in:
rubenwardy 2020-03-14 23:18:56 +00:00
parent 59d199a7a5
commit ad6eaa6247
2 changed files with 2 additions and 3 deletions

View file

@ -94,7 +94,7 @@ shooter.blast = function(pos, radius, fleshy, distance, user)
shooter.punch_object(obj, {
full_punch_interval = 1.0,
damage_groups = {fleshy=damage},
}, nil, true)
}, nil, true, user)
end
end
end
@ -131,5 +131,4 @@ shooter.blast = function(pos, radius, fleshy, distance, user)
end
end
minetest.registered_entities["shooter_crossbow:arrow_entity"].collide_with_objects = false