mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-29 08:36:45 +01:00
Fixes #2288
This commit is contained in:
parent
45360f0979
commit
04b9b67c9d
@ -246,7 +246,8 @@ public abstract class PlotArea {
|
|||||||
this.SCHEMATIC_ON_CLAIM = config.getBoolean("schematic.on_claim");
|
this.SCHEMATIC_ON_CLAIM = config.getBoolean("schematic.on_claim");
|
||||||
this.SCHEMATIC_FILE = config.getString("schematic.file");
|
this.SCHEMATIC_FILE = config.getString("schematic.file");
|
||||||
this.SCHEMATIC_CLAIM_SPECIFY = config.getBoolean("schematic.specify_on_claim");
|
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;
|
this.USE_ECONOMY = config.getBoolean("economy.use") && EconHandler.getEconHandler() != null;
|
||||||
ConfigurationSection priceSection = config.getConfigurationSection("economy.prices");
|
ConfigurationSection priceSection = config.getConfigurationSection("economy.prices");
|
||||||
if (this.USE_ECONOMY) {
|
if (this.USE_ECONOMY) {
|
||||||
|
Loading…
Reference in New Issue
Block a user