mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2026-06-17 14:21:33 +00:00
Fixed backslashes being used as file separators regardless of platform (in /iris import)).
This commit is contained in:
@@ -447,7 +447,7 @@ public class CommandIris implements DecreeExecutor {
|
|||||||
}
|
}
|
||||||
WorldToLoad = world;
|
WorldToLoad = world;
|
||||||
File BUKKIT_YML = new File("bukkit.yml");
|
File BUKKIT_YML = new File("bukkit.yml");
|
||||||
String pathtodim = world + "\\iris\\pack\\dimensions\\";
|
String pathtodim = world + File.separator +"iris"+File.separator +"pack"+File.separator +"dimensions"+File.separator;
|
||||||
File directory = new File(Bukkit.getWorldContainer(), pathtodim);
|
File directory = new File(Bukkit.getWorldContainer(), pathtodim);
|
||||||
|
|
||||||
String dimension = null;
|
String dimension = null;
|
||||||
|
|||||||
Reference in New Issue
Block a user