From c8dde957f9a994c8c73b692b6330c2ba6730f64c Mon Sep 17 00:00:00 2001 From: MarioE Date: Sat, 1 Sep 2012 15:15:19 -0400 Subject: [PATCH] Fix a bug --- TShockAPI/Utils.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TShockAPI/Utils.cs b/TShockAPI/Utils.cs index 1b49a4f9..745d4a20 100644 --- a/TShockAPI/Utils.cs +++ b/TShockAPI/Utils.cs @@ -372,7 +372,7 @@ namespace TShockAPI if (item.name.ToLower() == nameLower) return new List {item}; if (item.name.ToLower().StartsWith(nameLower)) - found.Add(item); + found.Add((Item)item.Clone()); } return found; }