Multiverse/Multiverse-Adventure — Issue #13: Multiverse-Adverntures (incorrectly) assumes world folders are in bukkit root folder
Author: JadedDragoon
Created: 2012-02-07 09:01:02+00:00
State: open

### Expected Behavior

When I try to use ```/mva enable the_end``` multiverse-core unloads the world and multiverse-adventure makes a template from existing world files in ```//the_end/```.

### Actual Behavior

the world "the_end" is unloaded but then an error is printed to the console and nothing further happens.

console error:

```log
03:42:27 [INFO] [Multiverse-Core] World 'the_end' was unloaded from memory.
03:42:27 [SEVERE] java.io.FileNotFoundException: /home/bluelabratmc/blrmc-test/the_end (No such file or directory)
03:42:27 [SEVERE] at java.io.FileInputStream.open(Native Method)
03:42:27 [SEVERE] at java.io.FileInputStream.(FileInputStream.java:120)
03:42:27 [SEVERE] at com.onarandombox.MultiverseAdventure.util.FileUtils.copyFolder(FileUtils.java:31)
03:42:27 [SEVERE] at com.onarandombox.MultiverseAdventure.MVAdventureWorld$TemplateWriter.run(MVAdventureWorld.java:439)
03:42:27 [SEVERE] at org.bukkit.craftbukkit.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:137)
03:42:27 [SEVERE] at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:503)
03:42:27 [SEVERE] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:435)
03:42:27 [SEVERE] at net.minecraft.server.ThreadServerApplication.run(SourceFile:465)
03:42:27 [SEVERE] [Multiverse-Adventure] TemplateWriter: Couldn't copy the template!
03:42:27 [SEVERE] [Multiverse-Adventure] TemplateWriter: Failed!
```

relevant bukkit.yml:

```yaml
# This is the main configuration file for Bukkit.
# As you can see, there's actually not that much to configure without any plugins.
# For a reference for any variable inside this file, check out the bukkit wiki at
# http://wiki.bukkit.org/Bukkit.yml
#
# If you need help on this file, feel free to join us on irc or leave a message
# on the forums asking for advice.
#
# IRC: #bukkit @ esper.net
# (If this means nothing to you, just go to http://webchat.esper.net/?channels=bukkit )
# Forums: http://forums.bukkit.org/forums/bukkit-help.6/
# Twitter: http://twitter.com/Craftbukkit
# Bug tracker: http://leaky.bukkit.org/

settings:
allow-end: false
warn-on-overload: true
spawn-radius: 0
permissions-file: permissions.yml
update-folder: UPDATES
ping-packet-limit: 100
use-exact-login-location: false
world-container: WorldFiles
aliases:
icanhasbukkit:
- version
ircnick: nick
nick: enick
```

### Additional Info

My the_end world isn't in ```/home/bluelabratmc/blrmc-test/the_end/```. It is in ```/home/bluelabratmc/blrmc-test/WorldFiles/the_end/```. I moved all my world folders to ```/home/bluelabratmc/blrmc-test/WorldFiles/``` to help keep my bukkit folder clean and organized.

The other multiverse plugins seem to have no problems with this.