mirror of
https://github.com/Multiverse/Multiverse-Core.git
synced 2025-02-16 12:31:59 +01:00
Merge pull request #298 from 4am/master
Fixed Importing from a world container directory which is not the default
This commit is contained in:
commit
fe52040b48
@ -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