This commit is contained in:
cyberpwn 2021-08-30 12:25:56 -04:00
parent 72b62481a7
commit 82666d62ef
2 changed files with 3 additions and 2 deletions

View File

@ -140,7 +140,6 @@ public class SchemaBuilder {
arr.put(o);
arr.put(str);
anyOf.put("anyOf", arr);
anyOf.put("description", getDescription(c));
return anyOf;
}
@ -584,6 +583,8 @@ public class SchemaBuilder {
arr.put(prop);
arr.put(str);
prop.put("description", d.toString("\n"));
str.put("description", d.toString("\n"));
anyOf.put("anyOf", arr);
anyOf.put("description", d.toString("\n"));
anyOf.put("!required", k.isAnnotationPresent(Required.class));

View File

@ -487,7 +487,7 @@ public class B {
}
public static String[] getBlockTypes() {
public synchronized static String[] getBlockTypes() {
KList<String> bt = new KList<>();
for (Material i : Material.values()) {