fix converter NPE

This commit is contained in:
Jesse Boyd 2019-04-01 03:19:53 +11:00
parent 04b9b67c9d
commit e396da8ee5
No known key found for this signature in database
GPG Key ID: 59F1DE6293AF6E1F

View File

@ -748,7 +748,7 @@ public final class BukkitLegacyMappings extends LegacyMappings {
}
}
} else if (string.matches("^\\d+$")) {
idDataPair = new IdDataPair(Integer.parseInt(parts[0]), 0);
idDataPair = new IdDataPair(Integer.parseInt(string), 0);
}
PlotBlock plotBlock;
if (NEW_STRING_TO_LEGACY_PLOT_BLOCK.keySet().contains(workingString.toLowerCase())) {