1
0
mirror of https://github.com/oliverbooth/VpSharp synced 2024-11-23 00:28:48 +00:00

Compare commits

...

2 Commits

Author SHA1 Message Date
d7e3ebf582
chore: use .NET 8 sdk 2024-02-16 17:06:13 +00:00
db5200bd96
fix: cache new avatar location on teleport 2024-02-16 17:04:59 +00:00
2 changed files with 8 additions and 1 deletions

View File

@ -458,6 +458,13 @@ public sealed partial class VirtualParadiseClient
var location = new Location(world, position, rotation);
VirtualParadiseAvatar avatar = GetAvatar(session)!;
avatar.Location = location;
if (world != CurrentWorld)
{
_avatars.TryRemove(session, out _);
}
var args = new TeleportedEventArgs(avatar, location);
_teleported.OnNext(args);
}

View File

@ -1,6 +1,6 @@
{
"sdk": {
"version": "7.0.0",
"version": "8.0.0",
"rollForward": "latestMajor",
"allowPrerelease": true
}