From 04b9b67c9d993e9ac183ca321668d536f30c68dd Mon Sep 17 00:00:00 2001 From: Jesse Boyd Date: Sun, 31 Mar 2019 18:31:16 +1100 Subject: [PATCH] Fixes #2288 --- .../intellectualsites/plotsquared/plot/object/PlotArea.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Core/src/main/java/com/github/intellectualsites/plotsquared/plot/object/PlotArea.java b/Core/src/main/java/com/github/intellectualsites/plotsquared/plot/object/PlotArea.java index f5cc16779..9cdd5a4bd 100644 --- a/Core/src/main/java/com/github/intellectualsites/plotsquared/plot/object/PlotArea.java +++ b/Core/src/main/java/com/github/intellectualsites/plotsquared/plot/object/PlotArea.java @@ -246,7 +246,8 @@ public abstract class PlotArea { this.SCHEMATIC_ON_CLAIM = config.getBoolean("schematic.on_claim"); this.SCHEMATIC_FILE = config.getString("schematic.file"); this.SCHEMATIC_CLAIM_SPECIFY = config.getBoolean("schematic.specify_on_claim"); - this.SCHEMATICS = config.getStringList("schematic.schematics"); + this.SCHEMATICS = new ArrayList<>(config.getStringList("schematic.schematics")); + this.SCHEMATICS.replaceAll(String::toLowerCase); this.USE_ECONOMY = config.getBoolean("economy.use") && EconHandler.getEconHandler() != null; ConfigurationSection priceSection = config.getConfigurationSection("economy.prices"); if (this.USE_ECONOMY) {