diff options
author | Zoryn Aaron <zoryn4163@gmail.com> | 2016-02-28 22:16:32 -0500 |
---|---|---|
committer | Zoryn Aaron <zoryn4163@gmail.com> | 2016-02-28 22:16:32 -0500 |
commit | 524dc9e002d86e81c1e38827a2303cc83b71eba7 (patch) | |
tree | e0b3762f89b1485ef54bdf05dac9b95fa02493a6 /StardewModdingAPI/Extensions.cs | |
parent | bade4554d075d5dc2b1d9f81764dbb9bf361ddb3 (diff) | |
download | SMAPI-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.cs | 4 |
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; } |