diff --git a/Core/pom.xml b/Core/pom.xml index f4123bd96..280cd8b1a 100644 --- a/Core/pom.xml +++ b/Core/pom.xml @@ -18,6 +18,12 @@ 1.18.12 runtime + + org.jetbrains + annotations + 19.0.0 + runtime + com.sk89q.worldedit worldedit-core @@ -83,13 +89,7 @@ org.jetbrains.kotlin kotlin-stdlib - 1.3.61 - runtime - - - org.jetbrains - annotations - 18.0.0 + 1.3.72 runtime diff --git a/Core/src/main/java/com/plotsquared/core/generator/ClassicPlotWorld.java b/Core/src/main/java/com/plotsquared/core/generator/ClassicPlotWorld.java index 881b35cfa..e90a174df 100644 --- a/Core/src/main/java/com/plotsquared/core/generator/ClassicPlotWorld.java +++ b/Core/src/main/java/com/plotsquared/core/generator/ClassicPlotWorld.java @@ -121,7 +121,7 @@ import java.util.Locale; final Field[] fields = this.getClass().getFields(); for (final Field field : fields) { final String name = field.getName().toLowerCase(Locale.ENGLISH); - if (name.equalsIgnoreCase("g_sch")) { + if (name.contains("g_sch")) { continue; } Object value;