mirror of
https://github.com/Multiverse/Multiverse-Core.git
synced 2025-02-02 13:41:22 +01:00
Forgot to add environment to the worlds config!
This commit is contained in:
parent
6afd8dfdfb
commit
c668bdb4f5
@ -49,6 +49,7 @@ public class MVWorld {
|
||||
initLists();
|
||||
|
||||
this.alias = config.getString("worlds." + this.name + ".alias", "");
|
||||
|
||||
this.pvp = config.getBoolean("worlds." + this.name + ".pvp", true);
|
||||
|
||||
this.compression = config.getDouble("worlds." + this.name + ".compression", 1.0);
|
||||
@ -75,7 +76,7 @@ public class MVWorld {
|
||||
this.monsterList.add(s.toUpperCase());
|
||||
System.out.print(s);
|
||||
}
|
||||
|
||||
config.setProperty("worlds." + this.name + ".environment", this.environment.toString());
|
||||
config.save();
|
||||
if (config.getIntList("worlds." + name + ".blockBlacklist", new ArrayList<Integer>()).size() == 0) {
|
||||
addSampleData();
|
||||
|
@ -465,6 +465,7 @@ public class MultiverseCore extends JavaPlugin {
|
||||
public boolean removeWorld(String name) {
|
||||
unloadWorld(name);
|
||||
configWorlds.removeProperty("worlds." + name);
|
||||
configWorlds.save();
|
||||
return false;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user