Minor code cleanup
This commit is contained in:
parent
743ef6856e
commit
3b3378c555
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue