cleanup: use Integer#parseInt where applicable

This commit is contained in:
P0nk
2021-04-08 07:40:42 +02:00
parent 7ff8190977
commit 8aa44711e3
8 changed files with 19 additions and 25 deletions

View File

@@ -40,7 +40,7 @@ public class BuffExceptRequirement extends MapleQuestRequirement {
@Override
public void processData(MapleData data) {
// item buffs are negative
buffId = -1 * Integer.valueOf(MapleDataTool.getString(data));
buffId = -1 * Integer.parseInt(MapleDataTool.getString(data));
}
@Override