diff --git a/P3D/World/ActionScript/V2/ScriptCommands/DoPokemon.vb b/P3D/World/ActionScript/V2/ScriptCommands/DoPokemon.vb index 62ed62427..8f6050b18 100644 --- a/P3D/World/ActionScript/V2/ScriptCommands/DoPokemon.vb +++ b/P3D/World/ActionScript/V2/ScriptCommands/DoPokemon.vb @@ -77,7 +77,7 @@ End If Dim catchTrainer As String = Core.Player.Name - If commas > 5 And argument.GetSplit(6) <> "" Then + If commas > 5 And argument.GetSplit(6) <> "" And argument.GetSplit(6) <> "" Then catchTrainer = argument.GetSplit(6) End If @@ -780,7 +780,7 @@ End If Dim catchTrainer As String = Core.Player.Name - If commas > 5 And argument.GetSplit(6) <> "" Then + If commas > 5 And argument.GetSplit(6) <> "" And argument.GetSplit(6) <> "" Then catchTrainer = argument.GetSplit(6) End If