Use newer functions from MT/MTG 5.0.0+

These commits create more compatibility with MT/MTG 5.0.0+.
However, these commits (may) break compatibility with the 0.4-series.
This commit is contained in:
Panquesito7
2019-06-16 15:17:21 -05:00
committed by GitHub
parent 47ecef46f7
commit e248752ee4
15 changed files with 38 additions and 9 deletions

View File

@ -97,7 +97,7 @@ local function update_entity(pos)
yaw = math.pi / 2
end
end
object:setyaw(yaw)
object:set_yaw(yaw)
object:set_properties({textures={texture}})
end
end