mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-25 22:56:45 +01:00
Fix debugimportworlds 1.13
because someone changed PlotId.fromString to throw an exception without updating things that call it
This commit is contained in:
parent
000e3de35d
commit
d31dbc7c7c
@ -42,7 +42,7 @@ import java.util.UUID;
|
|||||||
}
|
}
|
||||||
for (File folder : container.listFiles()) {
|
for (File folder : container.listFiles()) {
|
||||||
String name = folder.getName();
|
String name = folder.getName();
|
||||||
if (!WorldUtil.IMP.isWorld(name) && PlotId.fromString(name) == null) {
|
if (!WorldUtil.IMP.isWorld(name) && PlotId.fromStringOrNull(name) == null) {
|
||||||
UUID uuid = UUIDHandler.getUUID(name, null);
|
UUID uuid = UUIDHandler.getUUID(name, null);
|
||||||
if (uuid == null) {
|
if (uuid == null) {
|
||||||
uuid =
|
uuid =
|
||||||
|
Loading…
Reference in New Issue
Block a user