Skip to content

Commit

Permalink
etc
Browse files Browse the repository at this point in the history
  • Loading branch information
aedenthorn committed Jan 8, 2024
1 parent 5c62f7c commit 134e32e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion GenieLamp/ObjectPickMenu.cs
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,10 @@ public override void draw(SpriteBatch b)
}
if(!string.IsNullOrEmpty(textBox.Text) && textBox.Text != lastText)
{
lastText = textBox.Text;
names.Clear();
var dict = AccessTools.StaticFieldRefAccess<Dictionary<string, ItemMetadata>>(typeof(ItemRegistry), "CachedItems");
var lower = textBox.Text.ToLower();
var lower = lastText.ToLower();
foreach (var kvp in dict)
{
var data = kvp.Value.GetParsedData();
Expand Down
2 changes: 1 addition & 1 deletion GenieLamp/manifest.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"Name": "Genie Lamp",
"Author": "aedenthorn",
"Version": "0.1.0",
"Version": "0.1.1",
"Description": "Genie Lamp.",
"UniqueID": "aedenthorn.GenieLamp",
"EntryDll": "GenieLamp.dll",
Expand Down

0 comments on commit 134e32e

Please sign in to comment.