summaryrefslogtreecommitdiff
path: root/StardewModdingAPI/Extensions.cs
diff options
context:
space:
mode:
authorZoryn Aaron <zoryn4163@gmail.com>2016-02-28 22:16:32 -0500
committerZoryn Aaron <zoryn4163@gmail.com>2016-02-28 22:16:32 -0500
commit524dc9e002d86e81c1e38827a2303cc83b71eba7 (patch)
treee0b3762f89b1485ef54bdf05dac9b95fa02493a6 /StardewModdingAPI/Extensions.cs
parentbade4554d075d5dc2b1d9f81764dbb9bf361ddb3 (diff)
downloadSMAPI-524dc9e002d86e81c1e38827a2303cc83b71eba7.tar.gz
SMAPI-524dc9e002d86e81c1e38827a2303cc83b71eba7.tar.bz2
SMAPI-524dc9e002d86e81c1e38827a2303cc83b71eba7.zip
expose some private fields for modding
Diffstat (limited to 'StardewModdingAPI/Extensions.cs')
-rw-r--r--StardewModdingAPI/Extensions.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/StardewModdingAPI/Extensions.cs b/StardewModdingAPI/Extensions.cs
index 0078ebe9..b960f027 100644
--- a/StardewModdingAPI/Extensions.cs
+++ b/StardewModdingAPI/Extensions.cs
@@ -22,9 +22,9 @@ namespace StardewModdingAPI
return new Color(Random.Next(0, 255), Random.Next(0, 255), Random.Next(0, 255));
}
- public static string ToSingular(this IEnumerable<Object> enumerable)
+ public static string ToSingular(this IEnumerable<Object> enumerable, string split = ", ")
{
- string result = string.Join(", ", enumerable);
+ string result = string.Join(split, enumerable);
return result;
}