Fixed File-location
This commit is contained in:
		
							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…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user