mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-25 10:27:55 +01:00
Fixed .createWorld not respecting container folder 100%. Thanks to plleg for the PR.
This commit is contained in:
parent
366d310186
commit
548ccabe2f
@ -514,7 +514,7 @@ public final class CraftServer implements Server {
|
|||||||
|
|
||||||
String name = creator.name();
|
String name = creator.name();
|
||||||
ChunkGenerator generator = creator.generator();
|
ChunkGenerator generator = creator.generator();
|
||||||
File folder = new File(name);
|
File folder = new File(getWorldContainer(), name);
|
||||||
World world = getWorld(name);
|
World world = getWorld(name);
|
||||||
WorldType type = WorldType.a(creator.type().getName());
|
WorldType type = WorldType.a(creator.type().getName());
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user