mirror of
https://github.com/Multiverse/Multiverse-Core.git
synced 2024-11-25 20:16:06 +01:00
Hotfix for #1836.
This commit is contained in:
parent
4878395460
commit
bc20ecbe60
@ -131,6 +131,11 @@ public class ImportCommand extends MultiverseCommand {
|
||||
|
||||
File worldFile = new File(this.plugin.getServer().getWorldContainer(), worldName);
|
||||
|
||||
if (!checkIfIsWorld(worldFile)) {
|
||||
sender.sendMessage(ChatColor.RED + "Sorry, but that does not look like a world!");
|
||||
return;
|
||||
}
|
||||
|
||||
String generator = CommandHandler.getFlag("-g", args);
|
||||
boolean useSpawnAdjust = true;
|
||||
for (String s : args) {
|
||||
|
Loading…
Reference in New Issue
Block a user