mirror of
https://github.com/Multiverse/Multiverse-Core.git
synced 2024-11-07 03:11:02 +01:00
Changed runCommand to look in world container directory (defined in bukkit.yml) instead of in the server folder when attempting to load world files.
This commit is contained in:
parent
77ced857ea
commit
af439b678e
@ -106,7 +106,7 @@ public class ImportCommand extends MultiverseCommand {
|
||||
this.showHelp(sender);
|
||||
return;
|
||||
}
|
||||
File worldFile = new File(this.plugin.getServerFolder(), worldName);
|
||||
File worldFile = new File(this.plugin.getServer().getWorldContainer(), worldName);
|
||||
if (this.worldManager.isMVWorld(worldName) && worldFile.exists()) {
|
||||
sender.sendMessage(ChatColor.RED + "Multiverse already knows about this world!");
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user