Fix debugimportworlds 1.13

because someone changed PlotId.fromString to throw an exception without updating things that call it
This commit is contained in:
Jesse Boyd 2019-04-17 22:07:33 +10:00
parent 000e3de35d
commit d31dbc7c7c
No known key found for this signature in database
GPG Key ID: 59F1DE6293AF6E1F

View File

@ -42,7 +42,7 @@ import java.util.UUID;
}
for (File folder : container.listFiles()) {
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);
if (uuid == null) {
uuid =