Fixed WorldEdit unpacking the wrong config.yml.

This commit is contained in:
sk89q 2011-04-02 14:02:13 -07:00
parent a3a6092113
commit 87f172b4ed

View File

@ -169,7 +169,7 @@ public class WorldEditPlugin extends JavaPlugin {
if (!actual.exists()) { if (!actual.exists()) {
InputStream input = InputStream input =
this.getClass().getResourceAsStream("/defaults/" + name); WorldEdit.class.getResourceAsStream("/defaults/" + name);
if (input != null) { if (input != null) {
FileOutputStream output = null; FileOutputStream output = null;