From ec04499b2754135da716ea878a4f9a72edc4994f Mon Sep 17 00:00:00 2001 From: Citrinate Date: Wed, 7 Aug 2024 20:50:28 -0400 Subject: [PATCH] Fix method not found error #19 --- CS2Interface/Data/InventoryItem.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CS2Interface/Data/InventoryItem.cs b/CS2Interface/Data/InventoryItem.cs index 498dfe2..2be0e12 100644 --- a/CS2Interface/Data/InventoryItem.cs +++ b/CS2Interface/Data/InventoryItem.cs @@ -156,7 +156,7 @@ private bool ParseAttributes(List? attributes) { case "float": case null when attribute_def["stored_as_integer"].Value == "0": - Attributes.Add(attribute_name, new Attribute(attribute_name, BitConverter.ToSingle(attribute.value_bytes.ToArray(), 0))); + Attributes.Add(attribute_name, new Attribute(attribute_name, BitConverter.ToSingle(attribute.value_bytes.ToArray()))); break; case "string":