mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2025-07-18 18:23:06 +00:00
Fixes
This commit is contained in:
parent
72b62481a7
commit
82666d62ef
@ -140,7 +140,6 @@ public class SchemaBuilder {
|
|||||||
arr.put(o);
|
arr.put(o);
|
||||||
arr.put(str);
|
arr.put(str);
|
||||||
anyOf.put("anyOf", arr);
|
anyOf.put("anyOf", arr);
|
||||||
anyOf.put("description", getDescription(c));
|
|
||||||
|
|
||||||
return anyOf;
|
return anyOf;
|
||||||
}
|
}
|
||||||
@ -584,6 +583,8 @@ public class SchemaBuilder {
|
|||||||
|
|
||||||
arr.put(prop);
|
arr.put(prop);
|
||||||
arr.put(str);
|
arr.put(str);
|
||||||
|
prop.put("description", d.toString("\n"));
|
||||||
|
str.put("description", d.toString("\n"));
|
||||||
anyOf.put("anyOf", arr);
|
anyOf.put("anyOf", arr);
|
||||||
anyOf.put("description", d.toString("\n"));
|
anyOf.put("description", d.toString("\n"));
|
||||||
anyOf.put("!required", k.isAnnotationPresent(Required.class));
|
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<>();
|
KList<String> bt = new KList<>();
|
||||||
|
|
||||||
for (Material i : Material.values()) {
|
for (Material i : Material.values()) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user