mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2025-01-04 23:32:55 +08:00
refactor: Integer.ParseInt is more appropriate here
This commit is contained in:
parent
bb82e21c82
commit
6d669bd47a
@ -12,7 +12,7 @@ public class ExecDecQuestGlobalVar extends QuestExecHandler {
|
||||
quest
|
||||
.getOwner()
|
||||
.getQuestManager()
|
||||
.decQuestGlobalVarValue(Integer.valueOf(paramStr[0]), Integer.valueOf(paramStr[1]));
|
||||
.decQuestGlobalVarValue(Integer.parseInt(paramStr[0]), Integer.parseInt(paramStr[1]));
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user