We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 92b183b commit f84074cCopy full SHA for f84074c
src/main/java/net/kyori/option/OptionSchema.java
@@ -40,7 +40,7 @@ public interface OptionSchema {
40
/**
41
* Retrieve the globally-shared option schema.
42
*
43
- * <p>This mostly exists for backwards compatibility.</p>
+ * <p>This mostly exists for backwards compatibility, and should not be used in new software.</p>
44
45
* @return the global schema
46
* @since 1.1.0
@@ -77,7 +77,7 @@ public interface OptionSchema {
77
78
*/
79
static OptionSchema.@NotNull Mutable emptySchema() {
80
- return childSchema(globalSchema());
+ return new OptionSchemaImpl(null).new MutableImpl();
81
}
82
83
0 commit comments