Minor code cleanup

This commit is contained in:
Christian Koop 2021-12-09 21:49:57 +01:00
parent 743ef6856e
commit 3b3378c555
No known key found for this signature in database
GPG Key ID: 89A8181384E010A3
1 changed files with 1 additions and 1 deletions

View File

@ -896,7 +896,7 @@ public class IslandManager {
public void loadIslandAtLocation(Location location) {
FileManager fileManager = plugin.getFileManager();
File configFile = new File(plugin.getDataFolder().toString() + "/island-data");
File configFile = new File(plugin.getDataFolder(), "island-data");
if (!configFile.exists()) return;