This commit is contained in:
cyberpwn committed 2021-08-30 12:25:56 -04:00
1 parent 72b62481a7
commit 82666d62ef
2 files changed
+3 -2

No files matched your search

@@ -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));
@@ -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()) {