File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
multiworld-bukkit/src/main/java/com/dev7ex/multiworld/world Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -72,7 +72,7 @@ public void add(@NotNull final BukkitWorldHolder worldHolder) {
7272 super .getFileConfiguration ().set (worldHolder .getName () + "." + WorldProperty .SPAWN_ENTITIES .getStoragePath (), worldHolder .isSpawnEntities ());
7373 super .getFileConfiguration ().set (worldHolder .getName () + "." + WorldProperty .WEATHER_ENABLED .getStoragePath (), worldHolder .isWeatherEnabled ());
7474
75- super .getFileConfiguration ().set (worldHolder .getName () + "." + WorldProperty .ENVIRONMENT .getStoragePath (), worldHolder .getEnvironment ());
75+ super .getFileConfiguration ().set (worldHolder .getName () + "." + WorldProperty .ENVIRONMENT .getStoragePath (), worldHolder .getEnvironment (). toString () );
7676 super .getFileConfiguration ().set (worldHolder .getName () + "." + WorldProperty .GENERATOR .getStoragePath (), worldHolder .getGenerator ());
7777 super .getFileConfiguration ().set (worldHolder .getName () + "." + WorldProperty .TYPE .getStoragePath (), worldHolder .getType ().toString ());
7878
You can’t perform that action at this time.
0 commit comments