This commit is contained in:
CaptainSegis 2019-01-05 02:53:34 -05:00
parent c89c4f8121
commit 28dba981db
1 changed files with 1 additions and 1 deletions

View File

@ -703,7 +703,7 @@
' @Pokemon.AddToStorage(PokemonID, Level, [Method], [BallID], [Location], [isEgg], [trainerName])
If argument.StartsWith("{") = True Or argument.Remove(0, argument.IndexOf(",")).StartsWith(",{") = True Then
Dim insertIndex As Integer = Core.Player.Pokemons.Count
Dim insertIndex As Integer = -1
If argument.Remove(0, argument.IndexOf(",")).StartsWith(",{") = True Then
insertIndex = int(argument.GetSplit(0))
End If