Fixed incorrect DecSeparator thing in GamemodeItem

This commit is contained in:
JappaWakka 2024-08-25 20:05:50 +02:00
parent e81237bd64
commit 79b23efe92
1 changed files with 2 additions and 2 deletions

View File

@ -113,12 +113,12 @@ Public Class GameModeItemLoader
Case "battlepointsprice"
item.gmBattlePointsPrice = CInt(value)
Case "catchmultiplier"
item.gmCatchMultiplier = CSng(value.ReplaceDecSeparator)
item.gmCatchMultiplier = CSng(value.InsertDecSeparator)
Case "expmultiplier"
If value.Split(",").Count > 1 Then
item.gmOverrideTradeExp = CBool(value.GetSplit(1, ","))
End If
item.gmExpMultiplier = CDbl(value.GetSplit(0, ",").ReplaceDecSeparator)
item.gmExpMultiplier = CDbl(value.GetSplit(0, ",").InsertDecSeparator)
Case "maxstack"
item.gmMaxStack = CInt(value)
Case "flingdamage"