mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2025-04-14 15:36:24 +02:00
fix converter NPE
This commit is contained in:
parent
04b9b67c9d
commit
e396da8ee5
2
Bukkit/src/main/java/com/github/intellectualsites/plotsquared/bukkit/util/BukkitLegacyMappings.java
2
Bukkit/src/main/java/com/github/intellectualsites/plotsquared/bukkit/util/BukkitLegacyMappings.java
@ -748,7 +748,7 @@ public final class BukkitLegacyMappings extends LegacyMappings {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
} else if (string.matches("^\\d+$")) {
|
} else if (string.matches("^\\d+$")) {
|
||||||
idDataPair = new IdDataPair(Integer.parseInt(parts[0]), 0);
|
idDataPair = new IdDataPair(Integer.parseInt(string), 0);
|
||||||
}
|
}
|
||||||
PlotBlock plotBlock;
|
PlotBlock plotBlock;
|
||||||
if (NEW_STRING_TO_LEGACY_PLOT_BLOCK.keySet().contains(workingString.toLowerCase())) {
|
if (NEW_STRING_TO_LEGACY_PLOT_BLOCK.keySet().contains(workingString.toLowerCase())) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user