Remove ShopType config from DatabaseConfig.java
This commit is contained in:
parent
5ccd5b6f0c
commit
d33a0db545
|
|
@ -13,7 +13,6 @@ public class DatabaseConfig extends AbstractConfiguration {
|
|||
|
||||
static DatabaseConfig config;
|
||||
static int version;
|
||||
static HashMap<ShopType, ShopTypeConfig> shopTypeConfigs;
|
||||
|
||||
public static void reload() {
|
||||
config = new DatabaseConfig();
|
||||
|
|
@ -22,11 +21,6 @@ public class DatabaseConfig extends AbstractConfiguration {
|
|||
config.set("config-version", 1);
|
||||
|
||||
config.readConfig(DatabaseConfig.class, null);
|
||||
|
||||
shopTypeConfigs = new HashMap<>();
|
||||
for (ShopType shopType : ShopType.values()) {
|
||||
shopTypeConfigs.put(shopType, new ShopTypeConfig(shopType.toString()));
|
||||
}
|
||||
}
|
||||
|
||||
public static String DRIVER = "mysql";
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user