forked from mtcontrib/3d_armor
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:
@ -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
|
||||
|
Reference in New Issue
Block a user