fixes ItemContainerChanged event

This commit is contained in:
Zeruth
2019-07-11 00:28:53 -04:00
parent 7ba7bb64dd
commit a017961e99
2 changed files with 28 additions and 8 deletions

View File

@@ -82,4 +82,16 @@ public enum InventoryID
{
return id;
}
public static InventoryID getValue(int value)
{
for (InventoryID e: InventoryID.values())
{
if (e.id == value)
{
return e;
}
}
return null;
}
}