summaryrefslogtreecommitdiffstats
path: root/EssentialsSigns/src/net
diff options
context:
space:
mode:
Diffstat (limited to 'EssentialsSigns/src/net')
-rw-r--r--EssentialsSigns/src/net/ess3/signs/SignsConfigHolder.java9
1 files changed, 1 insertions, 8 deletions
diff --git a/EssentialsSigns/src/net/ess3/signs/SignsConfigHolder.java b/EssentialsSigns/src/net/ess3/signs/SignsConfigHolder.java
index 0f74a965d..5f3a767f7 100644
--- a/EssentialsSigns/src/net/ess3/signs/SignsConfigHolder.java
+++ b/EssentialsSigns/src/net/ess3/signs/SignsConfigHolder.java
@@ -1,7 +1,6 @@
package net.ess3.signs;
import java.io.File;
-import java.io.IOException;
import java.util.*;
import net.ess3.api.IEssentials;
import net.ess3.storage.AsyncStorageObjectHolder;
@@ -16,7 +15,7 @@ public class SignsConfigHolder extends AsyncStorageObjectHolder<SignsConfig>
public SignsConfigHolder(final IEssentials ess, final Plugin plugin)
{
- super(ess, SignsConfig.class);
+ super(ess, SignsConfig.class, new File(plugin.getDataFolder(), "config.yml"));
this.plugin = plugin;
onReload();
final Map<String, Boolean> signs = getData().getSigns();
@@ -44,12 +43,6 @@ public class SignsConfigHolder extends AsyncStorageObjectHolder<SignsConfig>
queueSave();
}
- @Override
- public File getStorageFile() throws IOException
- {
- return new File(plugin.getDataFolder(), "config.yml");
- }
-
public Set<EssentialsSign> getEnabledSigns()
{
return enabledSigns;