[Forge] Add slash to location of defaults folder to allow locating of worldedit.properties file.
This commit is contained in:
@@ -242,7 +242,7 @@ public class ForgeWorldEdit {
|
|||||||
checkNotNull(jar);
|
checkNotNull(jar);
|
||||||
checkNotNull(name);
|
checkNotNull(name);
|
||||||
|
|
||||||
String path = "defaults/" + name;
|
String path = "/defaults/" + name;
|
||||||
File targetFile = new File(getWorkingDir(), name);
|
File targetFile = new File(getWorkingDir(), name);
|
||||||
Closer closer = Closer.create();
|
Closer closer = Closer.create();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user