mirror of
https://github.com/oliverbooth/VpSharp
synced 2024-11-22 13:48:48 +00:00
fix: set world settings after avatar details are set
This commit is contained in:
parent
a3b6f44ea9
commit
cc2b7a8964
@ -397,12 +397,6 @@ public sealed partial class VirtualParadiseClient : IDisposable
|
|||||||
|
|
||||||
world.Size = new Size(size, size);
|
world.Size = new Size(size, size);
|
||||||
|
|
||||||
if (CurrentWorld is not null)
|
|
||||||
{
|
|
||||||
CurrentWorld.Settings = WorldSettingsConverter.FromDictionary(_worldSettings);
|
|
||||||
_worldSettings.Clear();
|
|
||||||
}
|
|
||||||
|
|
||||||
CurrentAvatar = new VirtualParadiseAvatar(this, -1)
|
CurrentAvatar = new VirtualParadiseAvatar(this, -1)
|
||||||
{
|
{
|
||||||
Application = _configuration.Application!,
|
Application = _configuration.Application!,
|
||||||
@ -411,6 +405,12 @@ public sealed partial class VirtualParadiseClient : IDisposable
|
|||||||
User = CurrentUser!
|
User = CurrentUser!
|
||||||
};
|
};
|
||||||
|
|
||||||
|
if (CurrentWorld is not null)
|
||||||
|
{
|
||||||
|
CurrentWorld.Settings = WorldSettingsConverter.FromDictionary(_worldSettings);
|
||||||
|
_worldSettings.Clear();
|
||||||
|
}
|
||||||
|
|
||||||
if (_configuration.AutoQuery)
|
if (_configuration.AutoQuery)
|
||||||
{
|
{
|
||||||
_ = Task.Run(async () =>
|
_ = Task.Run(async () =>
|
||||||
|
Loading…
Reference in New Issue
Block a user