diff --git a/Visibility/Utils/FrameworkHandler.cs b/Visibility/Utils/FrameworkHandler.cs index 5c88c11..dafeb21 100644 --- a/Visibility/Utils/FrameworkHandler.cs +++ b/Visibility/Utils/FrameworkHandler.cs @@ -237,7 +237,7 @@ private unsafe void PlayerHandler(Character* characterPtr, Character* localPlaye if (!this.checkedVoidedObjectIds.ContainsKey(characterPtr->GameObject.EntityId)) { VoidItem? voidedPlayer = VisibilityPlugin.Instance.Configuration.VoidList.Find( - x => characterPtr->GameObject.Name.SequenceEqual(x.NameBytes) && + x => characterPtr->GameObject.Name.StartsWith(x.NameBytes) && x.HomeworldId == characterPtr->HomeWorld); if (voidedPlayer != null) @@ -286,7 +286,7 @@ private unsafe void PlayerHandler(Character* characterPtr, Character* localPlaye if (!this.checkedWhitelistedObjectIds.ContainsKey(characterPtr->GameObject.EntityId)) { VoidItem? whitelistedPlayer = VisibilityPlugin.Instance.Configuration.Whitelist.Find( - x => characterPtr->GameObject.Name.SequenceEqual(x.NameBytes) && + x => characterPtr->GameObject.Name.StartsWith(x.NameBytes) && x.HomeworldId == characterPtr->HomeWorld); if (whitelistedPlayer != null) diff --git a/Visibility/Visibility.csproj b/Visibility/Visibility.csproj index 29e1af9..8adaa7a 100644 --- a/Visibility/Visibility.csproj +++ b/Visibility/Visibility.csproj @@ -5,7 +5,7 @@ default true enable - 1.1.7.3 + 1.1.7.4 $(AssemblyVersion) false SheepGoMeh