diff --git a/api.lua b/api.lua index b605595..6eb98ef 100644 --- a/api.lua +++ b/api.lua @@ -4216,7 +4216,8 @@ function mobs:register_arrow(name, def) visual_size = def.visual_size, textures = def.textures, collisionbox = def.collisionbox or {-.1, -.1, -.1, .1, .1, .1}, - glow = def.glow + glow = def.glow, + automatic_face_movement_dir = def.rotate and (def.rotate - (pi / 180)) or false, }, velocity = def.velocity, @@ -4231,8 +4232,6 @@ function mobs:register_arrow(name, def) owner_id = def.owner_id, rotate = def.rotate, - automatic_face_movement_dir = def.rotate and (def.rotate - (pi / 180)) or false, - on_activate = def.on_activate, on_punch = def.on_punch or function(self, hitter, tflp, tool_capabilities, dir)