Eggs don't deal damage
This commit is contained in:
parent
7b420a3e16
commit
c940a9e944
@ -178,14 +178,14 @@ mobs:register_arrow("mobs_mc:egg_entity", {
|
|||||||
hit_player = function(self, player)
|
hit_player = function(self, player)
|
||||||
player:punch(minetest.get_player_by_name(self.playername) or self.object, 1.0, {
|
player:punch(minetest.get_player_by_name(self.playername) or self.object, 1.0, {
|
||||||
full_punch_interval = 1.0,
|
full_punch_interval = 1.0,
|
||||||
damage_groups = {fleshy = 1},
|
damage_groups = {},
|
||||||
}, nil)
|
}, nil)
|
||||||
end,
|
end,
|
||||||
|
|
||||||
hit_mob = function(self, player)
|
hit_mob = function(self, player)
|
||||||
player:punch(minetest.get_player_by_name(self.playername) or self.object, 1.0, {
|
player:punch(minetest.get_player_by_name(self.playername) or self.object, 1.0, {
|
||||||
full_punch_interval = 1.0,
|
full_punch_interval = 1.0,
|
||||||
damage_groups = {fleshy = 1},
|
damage_groups = {},
|
||||||
}, nil)
|
}, nil)
|
||||||
end,
|
end,
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user