修复启用经济后加载时报错的问题
All checks were successful
Java CI-CD with Maven / build (push) Successful in 22m22s

This commit is contained in:
zhangyuheng 2024-08-13 15:50:59 +08:00
parent 78bb6c9447
commit 7744442575
2 changed files with 2 additions and 2 deletions

View File

@ -6,7 +6,7 @@
<groupId>cn.lunadeer</groupId> <groupId>cn.lunadeer</groupId>
<artifactId>ColorfulMap</artifactId> <artifactId>ColorfulMap</artifactId>
<version>2.2</version> <version>2.3</version>
<packaging>jar</packaging> <packaging>jar</packaging>
<name>ColorfulMap</name> <name>ColorfulMap</name>

View File

@ -14,8 +14,8 @@ public final class ColorfulMap extends JavaPlugin {
public void onEnable() { public void onEnable() {
// Plugin startup logic // Plugin startup logic
instance = this; instance = this;
config = new Configuration(this);
new XLogger(this); new XLogger(this);
config = new Configuration(this);
XLogger.setDebug(config.isDebug()); XLogger.setDebug(config.isDebug());
new Notification(this); new Notification(this);
new Scheduler(this); new Scheduler(this);