Allow trainers to use non Integer itemids
This commit is contained in:
parent
135f0cdd4e
commit
4460ac9f52
|
@ -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"
|
||||||
|
|
Loading…
Reference in New Issue