mirror of
https://github.com/Multiverse/Multiverse-Core.git
synced 2025-03-27 14:09:08 +01:00
Why do letters have to have a cAsE?
This commit is contained in:
parent
c25205f61c
commit
d6f046a4fc
src/com/onarandombox/MultiverseCore
@ -59,7 +59,7 @@ public class MVConfigMigrator {
|
||||
private boolean migrateWorlds(String name, File oldFolder, File newFolder) {
|
||||
Configuration newConfig = new Configuration(new File(newFolder, "worlds.yml"));
|
||||
this.core.log(Level.INFO, "Trying to migrate worlds.yml...");
|
||||
Configuration oldConfig = new Configuration(new File(oldFolder, "worlds.yml"));
|
||||
Configuration oldConfig = new Configuration(new File(oldFolder, "Worlds.yml"));
|
||||
oldConfig.load();
|
||||
List<String> keys = oldConfig.getKeys("worlds");
|
||||
if (keys == null) {
|
||||
|
@ -79,8 +79,8 @@ public class MultiverseCore extends JavaPlugin {
|
||||
// Setup our Debug Log
|
||||
debugLog = new DebugLog("Multiverse-Core", getDataFolder() + File.separator + "debug.log");
|
||||
|
||||
// Setup & Load our Configuration files.
|
||||
loadConfigs();
|
||||
|
||||
|
||||
}
|
||||
|
||||
public void onEnable() {
|
||||
@ -108,7 +108,10 @@ public class MultiverseCore extends JavaPlugin {
|
||||
// Call the Function to load all the Worlds and setup the HashMap
|
||||
// When called with null, it tries to load ALL
|
||||
// this function will be called every time a plugin registers a new envtype with MV
|
||||
// Setup & Load our Configuration files.
|
||||
loadConfigs();
|
||||
if (this.configMV != null) {
|
||||
|
||||
this.loadWorlds(true);
|
||||
} else {
|
||||
this.log(Level.WARNING, "Your configs were not loaded. Very little will function in MV.");
|
||||
|
Loading…
Reference in New Issue
Block a user