Fixed Spearow Kenya's mail crash

This commit is contained in:
JappaWakka 2023-12-19 12:15:03 +01:00
parent 13fa3f52d2
commit 4c91360cd5
1 changed files with 1 additions and 1 deletions

View File

@ -629,7 +629,7 @@
Core.Player.Pokemons(Index).Item = Nothing
Case "setitemdata"
Dim Index As Integer = int(argument.GetSplit(0, ","))
Dim itemData As String = argument.GetSplit(1, ",")
Dim itemData As String = argument.Remove(0, argument.IndexOf(",") + 1)
If Core.Player.Pokemons.Count - 1 >= Index Then
If Not Core.Player.Pokemons(Index).Item Is Nothing Then