You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<ErrorText>This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText>
"The items that are consumed when creating a minion. Please use a comma-delimited list of prefab names with a : and integer for amount. Alternative items can be specified with a | eg. Wood|Coal:5 to mean wood and/or coal.",
41
41
null,true);
42
-
ItemsCost=newMemoryConfigEntry<string,List<string>>(itemsCost, s =>s?.Split(',').ToList());
42
+
ItemsCost=newMemoryConfigEntry<string,List<string>>(itemsCost, s =>s?.Split(',').Select(str =>str.Trim()).ToList());
43
43
Health=plugin.Config.Bind(serverSynced,"Health",
44
44
50f,newConfigDescription("How much health the mercenary has.",null,
"The items that are consumed when creating a minion. Please use a comma-delimited list of prefab names with a : and integer for amount. Alternative items can be specified with a | eg. Wood|Coal:5 to mean wood and/or coal.",
33
33
null,true);
34
-
ItemsCost=newMemoryConfigEntry<string,List<string>>(itemsCost, s =>s?.Split(',').ToList());
34
+
ItemsCost=newMemoryConfigEntry<string,List<string>>(itemsCost, s =>s?.Split(',').Select(str =>str.Trim()).ToList());
35
35
Health=plugin.Config.Bind(serverSynced,"Health",
36
36
50f,newConfigDescription("How much health the mercenary has.",null,
"The items that are consumed when creating a minion. Please use a comma-delimited list of prefab names with a : and integer for amount. Alternative items can be specified with a | eg. Wood|Coal:5 to mean wood and/or coal.",
19
19
null,true);
20
-
ItemsCost=newMemoryConfigEntry<string,List<string>>(itemsCost, s =>s?.Split(',').ToList());
20
+
ItemsCost=newMemoryConfigEntry<string,List<string>>(itemsCost, s =>s?.Split(',').Select(str =>str.Trim()).ToList());
21
21
Health=plugin.Config.Bind(serverSynced,"Health",
22
22
50f,newConfigDescription("How much health the mercenary has.",null,
"The items that are consumed when creating a minion. Please use a comma-delimited list of prefab names with a : and integer for amount. Alternative items can be specified with a | eg. Wood|Coal:5 to mean wood and/or coal.",
19
19
null,true);
20
-
ItemsCost=newMemoryConfigEntry<string,List<string>>(itemsCost, s =>s?.Split(',').ToList());
20
+
ItemsCost=newMemoryConfigEntry<string,List<string>>(itemsCost, s =>s?.Split(',').Select(str =>str.Trim()).ToList());
21
21
Health=plugin.Config.Bind(serverSynced,"Health",
22
22
100f,newConfigDescription("How much health the mercenary has.",null,
"The items that are consumed when creating a minion. Please use a comma-delimited list of prefab names with a : and integer for amount. Alternative items can be specified with a | eg. Wood|Coal:5 to mean wood and/or coal.",
19
19
null,true);
20
-
ItemsCost=newMemoryConfigEntry<string,List<string>>(itemsCost, s =>s?.Split(',').ToList());
20
+
ItemsCost=newMemoryConfigEntry<string,List<string>>(itemsCost, s =>s?.Split(',').Select(str =>str.Trim()).ToList());
21
21
Health=plugin.Config.Bind(serverSynced,"Health",
22
22
200f,newConfigDescription("How much health the mercenary has.",null,
"The items that are consumed when creating a minion. Please use a comma-delimited list of prefab names with a : and integer for amount. Alternative items can be specified with a | eg. Wood|Coal:5 to mean wood and/or coal.",
19
19
null,true);
20
-
ItemsCost=newMemoryConfigEntry<string,List<string>>(itemsCost, s =>s?.Split(',').ToList());
20
+
ItemsCost=newMemoryConfigEntry<string,List<string>>(itemsCost, s =>s?.Split(',').Select(str =>str.Trim()).ToList());
21
21
Health=plugin.Config.Bind(serverSynced,"Health",
22
22
50f,newConfigDescription("How much health the mercenary has.",null,
"The items that are consumed when creating a minion. Please use a comma-delimited list of prefab names with a : and integer for amount. Alternative items can be specified with a | eg. Wood|Coal:5 to mean wood and/or coal.",
19
19
null,true);
20
-
ItemsCost=newMemoryConfigEntry<string,List<string>>(itemsCost, s =>s?.Split(',').ToList());
20
+
ItemsCost=newMemoryConfigEntry<string,List<string>>(itemsCost, s =>s?.Split(',').Select(str =>str.Trim()).ToList());
21
21
Health=plugin.Config.Bind(serverSynced,"Health",
22
22
100f,newConfigDescription("How much health the mercenary has.",null,
"The items that are consumed when creating a minion. Please use a comma-delimited list of prefab names with a : and integer for amount. Alternative items can be specified with a | eg. Wood|Coal:5 to mean wood and/or coal.",
19
19
null,true);
20
-
ItemsCost=newMemoryConfigEntry<string,List<string>>(itemsCost, s =>s?.Split(',').ToList());
20
+
ItemsCost=newMemoryConfigEntry<string,List<string>>(itemsCost, s =>s?.Split(',').Select(str =>str.Trim()).ToList());
21
21
Health=plugin.Config.Bind(serverSynced,"Health",
22
22
200f,newConfigDescription("How much health the mercenary has.",null,
"The items that are consumed when creating a minion. Please use a comma-delimited list of prefab names with a : and integer for amount. Alternative items can be specified with a | eg. Wood|Coal:5 to mean wood and/or coal.",
19
19
null,true);
20
-
ItemsCost=newMemoryConfigEntry<string,List<string>>(itemsCost, s =>s?.Split(',').ToList());
20
+
ItemsCost=newMemoryConfigEntry<string,List<string>>(itemsCost, s =>s?.Split(',').Select(str =>str.Trim()).ToList());
21
21
Health=plugin.Config.Bind(serverSynced,"Health",
22
22
400f,newConfigDescription("How much health the mercenary has.",null,
0 commit comments