package com.censoredsoftware.demigods.engine.data;

import org.bukkit.Bukkit;
import org.bukkit.World;

import com.censoredsoftware.censoredlib.helper.MapDBFile;

public class WorldData extends MapDBFile
{
	private final String worldName;

	WorldData(String worldName, String worldFolder)
	{
		super("demigods.dat", worldFolder + "\\demigods\\");
		this.worldName = worldName;
	}

	public World getWorld()
	{
		return Bukkit.getWorld(worldName);
	}

	@Override
	public boolean delete()
	{
		Data.removeWorld(worldName);
		return super.delete();
	}
}

@@ -56,109 +56,108 @@
 ort 
-org.bukkit.Bukkit;%0Aimport org.bukkit.World;%0A%0Aimport com.censoredsoftware.censoredlib.helper.MapDBFile
+com.censoredsoftware.censoredlib.helper.MapDBFile;%0Aimport org.bukkit.Bukkit;%0Aimport org.bukkit.World
 ;%0A%0Ap
@@ -327,18 +327,17 @@
  + %22
-%5C%5C
+/
 demigods
 %5C%5C%22)
@@ -336,10 +336,9 @@
 gods
-%5C%5C
+/
 %22);%0A
@@ -539,9 +539,8 @@
 ();%0A%09%7D%0A%7D
-%0A

Fix world data saving.