From d31dbc7c7cec93983bdc9bea17faded8e54462f2 Mon Sep 17 00:00:00 2001 From: Jesse Boyd Date: Wed, 17 Apr 2019 22:07:33 +1000 Subject: [PATCH] Fix debugimportworlds 1.13 because someone changed PlotId.fromString to throw an exception without updating things that call it --- .../plotsquared/plot/commands/DebugImportWorlds.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Core/src/main/java/com/github/intellectualsites/plotsquared/plot/commands/DebugImportWorlds.java b/Core/src/main/java/com/github/intellectualsites/plotsquared/plot/commands/DebugImportWorlds.java index 85fb9a752..f46e9e588 100644 --- a/Core/src/main/java/com/github/intellectualsites/plotsquared/plot/commands/DebugImportWorlds.java +++ b/Core/src/main/java/com/github/intellectualsites/plotsquared/plot/commands/DebugImportWorlds.java @@ -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 =