GameWorld loading ony runs /mvm command when Multiverse plugin is present
This commit is contained in:
parent
d1a04a7a66
commit
3e6cf96040
@ -103,7 +103,8 @@ public class GameWorldUtils implements Listener {
|
|||||||
}
|
}
|
||||||
w.setAutoSave(false);
|
w.setAutoSave(false);
|
||||||
gameWorld.put(world, w);
|
gameWorld.put(world, w);
|
||||||
Bukkit.dispatchCommand(Bukkit.getConsoleSender(), "mvm set hidden true "+copiedName);
|
if (Bukkit.getPluginManager().getPlugin("Multiverse-Core") != null)
|
||||||
|
Bukkit.dispatchCommand(Bukkit.getConsoleSender(), "mvm set hidden true "+copiedName);
|
||||||
operationOnLoad.accept(w);
|
operationOnLoad.accept(w);
|
||||||
return w;
|
return w;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user