Fixed File-location

master
Alexander B 4 years ago
parent d41a7128d8
commit a74b74addd

@ -42,7 +42,7 @@ public class Main extends JavaPlugin {
config = this.getConfig(); config = this.getConfig();
try{ try{
File dataFile = new File("data.yml"); File dataFile = new File("plugins/SpawnerDrops/data.yml");
dataFile.createNewFile(); dataFile.createNewFile();
data = YamlConfiguration.loadConfiguration( data = YamlConfiguration.loadConfiguration(
dataFile dataFile

Loading…
Cancel
Save