mirror of
https://github.com/P3D-Legacy/P3D-Legacy.git
synced 2025-07-28 08:14:29 +02:00
Fixed Spearow Kenya's mail crash
This commit is contained in:
parent
13fa3f52d2
commit
4c91360cd5
@ -629,7 +629,7 @@
|
|||||||
Core.Player.Pokemons(Index).Item = Nothing
|
Core.Player.Pokemons(Index).Item = Nothing
|
||||||
Case "setitemdata"
|
Case "setitemdata"
|
||||||
Dim Index As Integer = int(argument.GetSplit(0, ","))
|
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 Core.Player.Pokemons.Count - 1 >= Index Then
|
||||||
If Not Core.Player.Pokemons(Index).Item Is Nothing Then
|
If Not Core.Player.Pokemons(Index).Item Is Nothing Then
|
||||||
|
Loading…
x
Reference in New Issue
Block a user