mirror of
https://github.com/funkemunky/AntiVPN.git
synced 2026-06-01 09:51:55 +00:00
Fixing config
This commit is contained in:
@@ -29,10 +29,6 @@ public class Config {
|
||||
dataFolder.mkdir();
|
||||
}
|
||||
this.file.createNewFile();
|
||||
try (final InputStream is =VelocityPlugin.INSTANCE.getClass().getResourceAsStream("config.yml");
|
||||
final OutputStream os = new FileOutputStream(this.file)) {
|
||||
ByteStreams.copy(is, os);
|
||||
}
|
||||
}
|
||||
this.configuration = ConfigurationProvider.getProvider(YamlConfiguration.class).load(this.file);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user