Snow golems use mcl_throwing snowball

This commit is contained in:
Wuzzy 2019-12-09 11:03:48 +01:00
parent e2fb3a562d
commit 9e31c2b62b
3 changed files with 71 additions and 12 deletions

View file

@ -55,7 +55,7 @@ mobs:register_mob("mobs_mc:snowman", {
arrow = "mcl_throwing:snowball_entity",
shoot_arrow = function(self, pos, dir)
if mod_throwing then
mcl_throwing.throw("mcl_throwing:snowball", pos, dir)
mcl_throwing.throw("mcl_throwing:snowball", pos, dir, nil, self.object)
end
end,
shoot_interval = 1,