master #13

Merged
NO11 merged 61 commits from VoxeLibre/VoxeLibre:master into master 2022-01-06 17:06:38 +01:00
1 changed files with 3 additions and 1 deletions
Showing only changes of commit c757e98b4f - Show all commits

View File

@ -215,7 +215,9 @@ lightning.register_on_strike(function(pos, pos2, objects)
posadd = { x=math.cos(angle),y=0,z=math.sin(angle) }
posadd = vector.normalize(posadd)
local mob = add_entity(vector.add(pos2, posadd), "mobs_mc:skeleton")
mob:set_yaw(angle-math.pi/2)
if mob then
mob:set_yaw(angle-math.pi/2)
end
angle = angle + (math.pi*2) / 3
end