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 4f1c5b0 commit 89d3534Copy full SHA for 89d3534
src/main/java/me/rojo8399/placeholderapi/impl/PlaceholderAPIPlugin.java
@@ -287,6 +287,10 @@ public void onGamePreInitializationEvent(GamePreInitializationEvent event)
287
mapDefault();
288
}
289
290
+ if (config == null) {
291
+ config = new Config();
292
+ this.root.setValue(Config.type, config);
293
+ }
294
File msgFile = new File(configDir.toFile(), "messages.conf");
295
msgloader = HoconConfigurationLoader.builder().setFile(msgFile).build();
296
try {
0 commit comments