Skip to content

Commit

Permalink
minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
art0007i committed Jul 3, 2022
1 parent 2c0e29d commit b88777c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
8 changes: 4 additions & 4 deletions SpecialItemsLib/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
[assembly: AssemblyTitle("SpecialItemsLib")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyCompany("art0007i")]
[assembly: AssemblyProduct("SpecialItemsLib")]
[assembly: AssemblyCopyright("Copyright © 2021")]
[assembly: AssemblyCopyright("Copyright © 2022")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]

Expand All @@ -31,5 +31,5 @@
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]
[assembly: AssemblyVersion("1.1.0")]
[assembly: AssemblyFileVersion("1.1.0")]
4 changes: 3 additions & 1 deletion SpecialItemsLib/SpecialItemsLib.cs
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public class SpecialItemsLib : NeosMod
{
public override string Name => "SpecialItemsLib";
public override string Author => "art0007i";
public override string Version => "1.0.0";
public override string Version => "1.1.0";
public override string Link => "https://github.com/art0007i/SpecialItemsLib/";

public static ModConfiguration config;
Expand Down Expand Up @@ -162,6 +162,8 @@ class InventoryBrowser_ClassifyItem_Patch
{
public static void Postfix(InventoryItemUI itemui, ref InventoryBrowser.SpecialItemType __result)
{
// For people who have videos on their avatar
if (__result != InventoryBrowser.SpecialItemType.None) return;
if (itemui != null)
{
Record record = (Record)AccessTools.Field(itemui.GetType(), "Item").GetValue(itemui);
Expand Down

0 comments on commit b88777c

Please sign in to comment.