mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-22 13:16:45 +01:00
Always set the generator
This commit is contained in:
parent
29e0479081
commit
5ae70743b1
@ -43,7 +43,7 @@ public class MultiverseWorldManager extends BukkitWorldManager {
|
|||||||
// Then we send the console command
|
// Then we send the console command
|
||||||
final StringBuilder commandBuilder = new StringBuilder("mv create ")
|
final StringBuilder commandBuilder = new StringBuilder("mv create ")
|
||||||
.append(worldName).append(" normal");
|
.append(worldName).append(" normal");
|
||||||
if (generator != null && !generator.isEmpty()) {
|
if (generator != null) {
|
||||||
commandBuilder.append(" -g ").append(generator);
|
commandBuilder.append(" -g ").append(generator);
|
||||||
}
|
}
|
||||||
Bukkit.getServer().dispatchCommand(Bukkit.getServer().getConsoleSender(), commandBuilder.toString());
|
Bukkit.getServer().dispatchCommand(Bukkit.getServer().getConsoleSender(), commandBuilder.toString());
|
||||||
|
Loading…
Reference in New Issue
Block a user