-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix deprecated function calls #104
Fix deprecated function calls #104
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Might be worth mentioning that add_pos
is available in 5.9.0 and higher.
This comment was marked as outdated.
This comment was marked as outdated.
I re-requested approval because of the significant change on |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
didn't test but the code looks good 👍 (up to you now @Niklp09 😏)
LGTM. Will merge in a few days unless there are objections. |
This PR relaces deprecated calls. The following are fixed:
ObjectRef:moveto()
(Replaced byObjectRef:add_pos()
orObjectRef:move_to()
depending on engine version)ObjectRef:setyaw()
(Replaced byObjectRef:set_yaw()
)MetaDataRef:set_string()
withnil
as the second parameter (Replaced by""
)The following one is purposely not fixed:
digtron/nodes/node_crate.lua
Line 296 in 64416fd
This PR is ready for review.