mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-25 22:56:45 +01:00
Fix style.yml
This commit is contained in:
parent
a038cb6d1b
commit
98b4ceab7d
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user