From a44807d47b57458c07425a68d73851d50c99d5f6 Mon Sep 17 00:00:00 2001 From: dordsor21 Date: Thu, 16 Apr 2020 11:43:13 +0100 Subject: [PATCH] Don't dump biome array on /ps reload. Gradle also seems to want to change the Core pom. --- Core/pom.xml | 14 +++++++------- .../core/generator/ClassicPlotWorld.java | 2 +- 2 files changed, 8 insertions(+), 8 deletions(-) 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;