mirror of
https://github.com/CarmJos/MineSQL.git
synced 2026-06-04 16:43:03 +08:00
修改实现部分
This commit is contained in:
+8
@@ -1,6 +1,7 @@
|
||||
package cc.carm.plugin.easysql;
|
||||
|
||||
import cc.carm.plugin.easysql.api.DBConfiguration;
|
||||
import cc.carm.plugin.easysql.util.PropertiesUtil;
|
||||
import net.md_5.bungee.api.plugin.Plugin;
|
||||
import net.md_5.bungee.config.Configuration;
|
||||
import net.md_5.bungee.config.ConfigurationProvider;
|
||||
@@ -13,6 +14,7 @@ import java.io.InputStream;
|
||||
import java.nio.file.Files;
|
||||
import java.util.HashMap;
|
||||
import java.util.Map;
|
||||
import java.util.Properties;
|
||||
|
||||
public class EasySQLBungee extends Plugin implements EasySQLPluginPlatform {
|
||||
|
||||
@@ -71,4 +73,10 @@ public class EasySQLBungee extends Plugin implements EasySQLPluginPlatform {
|
||||
return new HashMap<>();
|
||||
}
|
||||
|
||||
@Override
|
||||
public @NotNull Map<String, Properties> readProperties() {
|
||||
return PropertiesUtil.readDBProperties(new File(getDataFolder(), "properties"));
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user