Skip to content

Update Tp command#74

Merged
sunnamed434 merged 4 commits intomasterfrom
Update-teleport
May 27, 2024
Merged

Update Tp command#74
sunnamed434 merged 4 commits intomasterfrom
Update-teleport

Conversation

@MrRousek
Copy link
Collaborator

Now the command teleport the player even if he is in the vehicle

@MrRousek MrRousek linked an issue May 23, 2024 that may be closed by this pull request
Copy link
Member

@sunnamed434 sunnamed434 left a comment

Choose a reason for hiding this comment

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

All other looks good


// Copy of Unturned function because its protected
protected static bool raycastFromSkyToPosition(ref Vector3 position)
protected static bool RaycastFromSkyToPosition(ref Vector3 position)
Copy link
Member

Choose a reason for hiding this comment

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

rename RaycastFromSkyToPosition to raycastFromSkyToPosition as before, just in case to keep backward compatibility

@MrRousek
Copy link
Collaborator Author

All other looks good

My out-of-the-box perfectionist didn't think about backward compatibility))

@MrRousek
Copy link
Collaborator Author

All other looks good

in general, this method is new and only the command /tpwp uses it

@MrRousek
Copy link
Collaborator Author

Therefore, let it be better this way

RaycastFromSkyToPosition

@sunnamed434
Copy link
Member

All other looks good

My out-of-the-box perfectionist didn't think about backward compatibility))

Ah yeah its a new command, then all fine

@sunnamed434 sunnamed434 merged commit d70523c into master May 27, 2024
@sunnamed434 sunnamed434 deleted the Update-teleport branch May 27, 2024 09:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Update /home and /tp and etc

2 participants