Forgot to actually set the pokedexdata

This commit is contained in:
JappaWakka 2023-07-22 21:17:37 +02:00
parent 22cedcd6c7
commit b73023e416
1 changed files with 1 additions and 1 deletions

View File

@ -18,7 +18,7 @@
If argument.Split(",").Count > 2 Then
ForceChange = CBool(argument.GetSplit(2, ","))
End If
Pokedex.ChangeEntry(Core.Player.PokedexData, argument.GetSplit(0, ","), CInt(argument.GetSplit(1, ",")), ForceChange)
Core.Player.PokedexData = Pokedex.ChangeEntry(Core.Player.PokedexData, argument.GetSplit(0, ","), CInt(argument.GetSplit(1, ",")), ForceChange)
Case Else
Logger.Log(Logger.LogTypes.Warning, "ScriptCommander.vb: (@pokedex." & command & ") Command not found.")
End Select