From b8bc055d21ac693da93cd8ff37145ec26e04bb19 Mon Sep 17 00:00:00 2001 From: rhylos Date: Fri, 27 Jun 2014 16:15:56 -0700 Subject: [PATCH] [Forge] Add slash to location of defaults folder to allow locating of worldedit.properties file. --- src/forge/java/com/sk89q/worldedit/forge/ForgeWorldEdit.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/forge/java/com/sk89q/worldedit/forge/ForgeWorldEdit.java b/src/forge/java/com/sk89q/worldedit/forge/ForgeWorldEdit.java index 7e21f7134..3de2beceb 100644 --- a/src/forge/java/com/sk89q/worldedit/forge/ForgeWorldEdit.java +++ b/src/forge/java/com/sk89q/worldedit/forge/ForgeWorldEdit.java @@ -242,7 +242,7 @@ public class ForgeWorldEdit { checkNotNull(jar); checkNotNull(name); - String path = "defaults/" + name; + String path = "/defaults/" + name; File targetFile = new File(getWorkingDir(), name); Closer closer = Closer.create();