Easier to read the if statement like this

This commit is contained in:
Daniel Billing 2020-07-23 12:21:48 +02:00
parent 3740de6258
commit 3230c43a76

View File

@ -106,7 +106,7 @@
Return s
Else
Dim result As String = resultToken.TokenContent
If Not Core.Player Is Nothing Then
If Core.Player IsNot Nothing Then
result = result.Replace("<playername>", Core.Player.Name)
result = result.Replace("<rivalname>", Core.Player.RivalName)
End If