mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-11-22 10:31:06 +01:00
Only burning arrows set objects on fire
This commit is contained in:
parent
a3ccb54376
commit
000dd3cbc9
1 changed files with 3 additions and 1 deletions
|
@ -251,7 +251,9 @@ ARROW_ENTITY.on_step = function(self, dtime)
|
|||
armor.last_damage_types[obj:get_player_name()] = "projectile"
|
||||
end
|
||||
damage_particles(self.object:get_pos(), self._is_critical)
|
||||
mcl_burning.set_on_fire(obj, 4)
|
||||
if mcl_burning.is_burning(self.object) then
|
||||
mcl_burning.set_on_fire(obj, 4)
|
||||
end
|
||||
obj:punch(self.object, 1.0, {
|
||||
full_punch_interval=1.0,
|
||||
damage_groups={fleshy=self._damage},
|
||||
|
|
Loading…
Reference in a new issue