Allow trainers to use non Integer itemids

This commit is contained in:
JappaWakka 2023-09-17 10:37:35 +02:00 committed by GitHub
parent 135f0cdd4e
commit 4460ac9f52
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -179,7 +179,7 @@ Public Class Trainer
If value <> "" Then If value <> "" Then
Dim itemData() As String = ScriptCommander.Parse(value).ToString().Split(CChar(",")) Dim itemData() As String = ScriptCommander.Parse(value).ToString().Split(CChar(","))
For Each ItemID As String In itemData For Each ItemID As String In itemData
Items.Add(Item.GetItemByID(CInt(ItemID).ToString)) Items.Add(Item.GetItemByID(ItemID).ToString))
Next Next
End If End If
Case "gender" Case "gender"