Skip to content

Commit d8cc8ff

Browse files
committed
fixed \n not working
1 parent 8ad1803 commit d8cc8ff

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

CustomCommands/CustomCommands.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ namespace CustomCommands;
1212
public class CustomCommands : BasePlugin, IPluginConfig<CustomCommandsConfig>
1313
{
1414
public override string ModuleName => "CustomCommands";
15-
public override string ModuleVersion => "1.0.2";
15+
public override string ModuleVersion => "1.0.3";
1616
public override string ModuleAuthor => "HerrMagic";
1717
public override string ModuleDescription => "Create your own commands per config";
1818

@@ -135,7 +135,7 @@ private void PrintToChatAndAllCenter(Receiver receiver, CCSPlayerController play
135135

136136
private void PrintToChat(Receiver printToChat, CCSPlayerController player, string message)
137137
{
138-
string[] msg = ReplaceTags(message).Split("\\n");
138+
string[] msg = ReplaceTags(message).Split('\n');
139139

140140
switch (printToChat)
141141
{

0 commit comments

Comments
 (0)