diff --git a/Dotnet/AssetBundleManager.cs b/Dotnet/AssetBundleManager.cs index ef81ae4b..1fb6048d 100644 --- a/Dotnet/AssetBundleManager.cs +++ b/Dotnet/AssetBundleManager.cs @@ -107,7 +107,7 @@ namespace VRCX var versionLocation = GetAssetVersion(version, variantVersion); if (!Directory.Exists(topDir)) return Path.Join(topDir, versionLocation); - var versionSearchPattern = string.Concat("*", versionLocation.AsSpan(8)); + var versionSearchPattern = string.Concat("*", versionLocation.AsSpan(16)); var dirs = Directory.GetDirectories(topDir, versionSearchPattern); if (dirs.Length > 0) return dirs.OrderByDescending(dir => ReverseHexToDecimal(Path.GetFileName(dir)).Item2).First(); diff --git a/src/app.js b/src/app.js index 3e8bc438..bda43254 100644 --- a/src/app.js +++ b/src/app.js @@ -10756,12 +10756,6 @@ console.log(`isLinux: ${LINUX}`); var { ref } = args; D.ref = ref; this.updateVRChatAvatarCache(); - if ( - ref.imageUrl === API.currentUser.currentAvatarImageUrl && - !ref.assetUrl - ) { - D.ref.assetUrl = API.currentUser.currentAvatarAssetUrl; - } if (/quest/.test(ref.tags)) { D.isQuestFallback = true; } diff --git a/src/classes/currentUser.js b/src/classes/currentUser.js index c1a23b2c..cb993d8f 100644 --- a/src/classes/currentUser.js +++ b/src/classes/currentUser.js @@ -208,7 +208,6 @@ export default class extends baseClass { bio: '', bioLinks: [], currentAvatar: '', - currentAvatarAssetUrl: '', currentAvatarImageUrl: '', currentAvatarTags: [], currentAvatarThumbnailImageUrl: '',