diff --git a/TShockAPI/DB/ItemManager.cs b/TShockAPI/DB/ItemManager.cs index 627fe822..278f8a15 100644 --- a/TShockAPI/DB/ItemManager.cs +++ b/TShockAPI/DB/ItemManager.cs @@ -227,7 +227,7 @@ namespace TShockAPI.DB public override string ToString() { - return Name + " (" + String.Join(",", AllowedGroups) + ")"; + return Name + (AllowedGroups.Count > 0 ? " (" + String.Join(",", AllowedGroups) + ")" : ""); } } } \ No newline at end of file