From 87f172b4edde7ef7eda6fe6aad922710e33c00e2 Mon Sep 17 00:00:00 2001 From: sk89q Date: Sat, 2 Apr 2011 14:02:13 -0700 Subject: [PATCH] Fixed WorldEdit unpacking the wrong config.yml. --- src/com/sk89q/worldedit/bukkit/WorldEditPlugin.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/com/sk89q/worldedit/bukkit/WorldEditPlugin.java b/src/com/sk89q/worldedit/bukkit/WorldEditPlugin.java index 3babb5e84..3442b6ba0 100644 --- a/src/com/sk89q/worldedit/bukkit/WorldEditPlugin.java +++ b/src/com/sk89q/worldedit/bukkit/WorldEditPlugin.java @@ -169,7 +169,7 @@ public class WorldEditPlugin extends JavaPlugin { if (!actual.exists()) { InputStream input = - this.getClass().getResourceAsStream("/defaults/" + name); + WorldEdit.class.getResourceAsStream("/defaults/" + name); if (input != null) { FileOutputStream output = null;