Skip to content
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

try removing kotlin warnings #941

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

try removing kotlin warnings #941

wants to merge 2 commits into from

Conversation

ImUrX
Copy link
Member

@ImUrX ImUrX commented Feb 16, 2024

Saw that there were a lot of kotlin warnings, so fixed some

@ImUrX ImUrX added Type: Enhancement Adds or improves a feature Area: Server Related to the server labels Feb 16, 2024
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We cannot assume that humanPoseManager is not null, as it may be initialized before AutoBone in VRServer. It could technically be considered safe since I moved the initialization lower in VRServer, so it could be changed... Idk, I guess I won't block it over this, but technically it is not assured to be safe, I'd left it in before despite the warnings because of this reason.

Copy link
Member Author

@ImUrX ImUrX Feb 16, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thats an interesting thing, what I'm curious about is that it's not a lateinit and kotlin is sure that it's not null, is something wrong in the parser maybe?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: Server Related to the server Type: Enhancement Adds or improves a feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants