Fix style.yml

This commit is contained in:
dordsor21 2020-05-13 16:29:10 +01:00
parent a038cb6d1b
commit 98b4ceab7d

View File

@ -1923,11 +1923,16 @@ public class PlotSquared {
object.put("color.14", "d");
object.put("color.15", "e");
object.put("color.16", "f");
if (!this.style.contains("color")) {
if (!this.style.contains("color")
|| this.style.getConfigurationSection("color").getValues(false).size() != object
.size()) {
for (Entry<String, Object> node : object.entrySet()) {
this.style.set(node.getKey(), node.getValue());
}
}
if (this.style.contains("version")) {
this.style.set("version", null);
}
}
/**