Replace deprecated moveto call
This commit is contained in:
parent
adb8e476f9
commit
b8e9048b94
1 changed files with 1 additions and 1 deletions
|
@ -132,7 +132,7 @@ minetest.register_entity("shooter_crossbow:arrow_entity", {
|
||||||
acceleration = {x=0, y=0, z=0}
|
acceleration = {x=0, y=0, z=0}
|
||||||
end
|
end
|
||||||
if pos then
|
if pos then
|
||||||
self.object:moveto(pos)
|
self.object:move_to(pos)
|
||||||
end
|
end
|
||||||
self.object:set_properties({
|
self.object:set_properties({
|
||||||
physical = true,
|
physical = true,
|
||||||
|
|
Loading…
Reference in a new issue