diff --git a/src/main/java/io/github/dre2n/dungeonsxl/world/DWorlds.java b/src/main/java/io/github/dre2n/dungeonsxl/world/DWorlds.java index de509047..52eee2e0 100644 --- a/src/main/java/io/github/dre2n/dungeonsxl/world/DWorlds.java +++ b/src/main/java/io/github/dre2n/dungeonsxl/world/DWorlds.java @@ -144,7 +144,7 @@ public class DWorlds { public Set getEditWorlds() { Set editWorlds = new HashSet<>(); for (DInstanceWorld instance : instances) { - if (instance instanceof DGameWorld) { + if (instance instanceof DEditWorld) { editWorlds.add((DEditWorld) instance); } }