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 0f7d5e0 commit 13e1367Copy full SHA for 13e1367
src/main/java/dev/isxander/controlify/config/dto/profile/defaults/DefaultConfigManager.java
@@ -37,6 +37,9 @@ public class DefaultConfigManager implements SimpleControlifyReloadListener<Defa
37
38
@Override
39
public ProfileConfig getDefaultForNamespace(@Nullable Identifier namespace) {
40
+ if (!this.isReady()) {
41
+ throw new IllegalStateException("Attempted to fetch default config before DefaultConfigManager was ready!");
42
+ }
43
if (namespace == null) {
44
namespace = ControllerType.DEFAULT.namespace();
45
}
0 commit comments