Skip to content

Commit eb9c7da

Browse files
1.2.3
1 parent 528a677 commit eb9c7da

File tree

3 files changed

+17
-5
lines changed

3 files changed

+17
-5
lines changed

Plugin.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ static string CheckCosmetics(VRRig rig)
3434
{ "LBANI.", new string[] { "AA CREATOR BADGE", "291447" } } };
3535
foreach (KeyValuePair<string, string[]> specialCosmetic in specialCosmetics)
3636
{
37-
if (rig.concatStringOfCosmeticsAllowed.Contains(specialCosmetic.Key))
37+
if (rig.rawCosmeticString.Contains(specialCosmetic.Key))
3838
specialties += (specialties == "" ? "" : ", ") + "<color=#" + specialCosmetic.Value[1] + ">" + specialCosmetic.Value[0] + "</color>";
3939
}
4040

@@ -142,7 +142,7 @@ static string CheckMods(VRRig rig)
142142
CosmeticsController.CosmeticSet cosmeticSet = rig.cosmeticSet;
143143
foreach (CosmeticsController.CosmeticItem cosmetic in cosmeticSet.items)
144144
{
145-
if (!cosmetic.isNullItem && !rig.concatStringOfCosmeticsAllowed.Contains(cosmetic.itemName))
145+
if (!cosmetic.isNullItem && !rig.rawCosmeticString.Contains(cosmetic.itemName))
146146
{
147147
specialMods += (specialMods == "" ? "" : ", ") + "<color=green>COSMETX</color>";
148148
break;
@@ -195,7 +195,7 @@ static string GetTaggedPlayer(VRRig rig)
195195

196196
static string GetPlatform(VRRig rig)
197197
{
198-
string concatStringOfCosmeticsAllowed = rig.concatStringOfCosmeticsAllowed;
198+
string concatStringOfCosmeticsAllowed = rig.rawCosmeticString;
199199

200200
if (concatStringOfCosmeticsAllowed.Contains("S. FIRST LOGIN"))
201201
return "STEAM";

PluginInfo.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@ internal class PluginInfo
77
{
88
public const string GUID = "com.goldentrophy.gorillatag.toomuchinfo";
99
public const string Name = "TooMuchInfo";
10-
public const string Version = "1.2.2";
10+
public const string Version = "1.2.3";
1111
}
1212
}

TooMuchInfo.csproj

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,23 @@
44
<TargetFramework>netstandard2.1</TargetFramework>
55
</PropertyGroup>
66

7+
<!-- AssemblyPublicizer usage inspired from GorillaShirts -->
8+
<ItemGroup>
9+
<PackageReference Include="BepInEx.AssemblyPublicizer.MSBuild" Version="0.4.3">
10+
<PrivateAssets>all</PrivateAssets>
11+
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
12+
</PackageReference>
13+
</ItemGroup>
14+
15+
<PropertyGroup>
16+
<PublicizerClearCacheOnClean>true</PublicizerClearCacheOnClean>
17+
</PropertyGroup>
18+
719
<ItemGroup>
820
<Reference Include="0Harmony">
921
<HintPath>$(BepInExAssemblyPath)\0Harmony.dll</HintPath>
1022
</Reference>
11-
<Reference Include="Assembly-CSharp">
23+
<Reference Include="Assembly-CSharp" Publicize="true">
1224
<HintPath>$(GameAssemblyPath)\Assembly-CSharp.dll</HintPath>
1325
</Reference>
1426
<Reference Include="Assembly-CSharp-firstpass">

0 commit comments

Comments
 (0)