diff --git a/src/main/java/com/onarandombox/MultiverseCore/MVWorld.java b/src/main/java/com/onarandombox/MultiverseCore/MVWorld.java index e3705d52..01dd6cce 100644 --- a/src/main/java/com/onarandombox/MultiverseCore/MVWorld.java +++ b/src/main/java/com/onarandombox/MultiverseCore/MVWorld.java @@ -639,27 +639,25 @@ public class MVWorld extends SerializationConfig implements MultiverseWorld { */ @Override protected void setDefaults() { - synchronized (propertyLock) { - this.hidden = false; - this.alias = new String(); - this.color = EnglishChatColor.WHITE; - this.style = EnglishChatStyle.NORMAL; - this.scale = getDefaultScale(environment); - this.respawnWorld = new String(); - this.allowWeather = true; - this.spawning = new SpawnSettings(); - this.entryfee = new EntryFee(); - this.hunger = true; - this.autoHeal = true; - this.adjustSpawn = true; - this.portalForm = AllowedPortalType.ALL; - this.gameMode = GameMode.SURVIVAL; - this.spawnLocation = (world != null) ? new SpawnLocation(world.get().getSpawnLocation()) : new NullLocation(); - this.autoLoad = true; - this.bedRespawn = true; - this.worldBlacklist = new ArrayList(); - this.generator = null; - } + this.hidden = false; + this.alias = new String(); + this.color = EnglishChatColor.WHITE; + this.style = EnglishChatStyle.NORMAL; + this.scale = getDefaultScale(environment); + this.respawnWorld = new String(); + this.allowWeather = true; + this.spawning = new SpawnSettings(); + this.entryfee = new EntryFee(); + this.hunger = true; + this.autoHeal = true; + this.adjustSpawn = true; + this.portalForm = AllowedPortalType.ALL; + this.gameMode = GameMode.SURVIVAL; + this.spawnLocation = (world != null) ? new SpawnLocation(world.get().getSpawnLocation()) : new NullLocation(); + this.autoLoad = true; + this.bedRespawn = true; + this.worldBlacklist = new ArrayList(); + this.generator = null; } /** diff --git a/src/main/java/com/onarandombox/MultiverseCore/MultiverseCoreConfiguration.java b/src/main/java/com/onarandombox/MultiverseCore/MultiverseCoreConfiguration.java index 1b2a7660..bfe60820 100644 --- a/src/main/java/com/onarandombox/MultiverseCore/MultiverseCoreConfiguration.java +++ b/src/main/java/com/onarandombox/MultiverseCore/MultiverseCoreConfiguration.java @@ -78,7 +78,7 @@ public class MultiverseCoreConfiguration extends SerializationConfig implements public void setDefaults() { // BEGIN CHECKSTYLE-SUPPRESSION: MagicNumberCheck enforceaccess = false; - setPrefixChat(true); + prefixchat = true; teleportintercept = true; firstspawnoverride = true; displaypermerrors = true;