1
0
mirror of https://github.com/essentials/Essentials.git synced 2025-08-16 19:44:15 +02:00
This commit is contained in:
snowleo
2012-10-06 17:02:58 +02:00
parent bb798a1051
commit ae10bcdffe
14 changed files with 90 additions and 97 deletions

View File

@@ -11,25 +11,25 @@ import org.bukkit.plugin.Plugin;
public class ConfigHolder extends AsyncStorageObjectHolder<GeoIP>
{
private final transient Plugin geoip;
public ConfigHolder(final IEssentials ess, final Plugin geoip)
{
super(ess, GeoIP.class);
this.geoip = geoip;
onReload(true);
}
@Override
public File getStorageFile() throws IOException
{
return new File(geoip.getDataFolder(), "config.yml");
}
@Override
public void finishRead()
{
}
@Override
public void finishWrite()
{