mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-25 14:46:45 +01:00
fix converter NPE
This commit is contained in:
parent
04b9b67c9d
commit
e396da8ee5
@ -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())) {
|
||||
|
Loading…
Reference in New Issue
Block a user