refactor: Integer.ParseInt is more appropriate here

This commit is contained in:
Breno A. 2024-06-09 09:19:41 -03:00
parent bb82e21c82
commit 6d669bd47a

View File

@ -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;
}
}