We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c72972c commit 9fe98a9Copy full SHA for 9fe98a9
1 file changed
bukkit/src/main/java/com/vexsoftware/votifier/NuVotifierBukkit.java
@@ -103,7 +103,7 @@ private boolean loadAndBind() {
103
}
104
105
// Handle configuration.
106
- File config = new File(getDataFolder() + "/config.yml");
+ File config = new File(getDataFolder(), "config.yml");
107
108
/*
109
* Use IP address from server.properties as a default for
@@ -153,7 +153,7 @@ private boolean loadAndBind() {
153
154
155
YamlConfiguration cfg;
156
- File rsaDirectory = new File(getDataFolder() + "/rsa");
+ File rsaDirectory = new File(getDataFolder(), "rsa");
157
158
// Load configuration.
159
cfg = YamlConfiguration.loadConfiguration(config);
0 commit comments