mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-09 11:44:19 +01:00
Fixed .createWorld not respecting container folder 100%. Thanks to plleg for the PR.
By: Nathan Adams <dinnerbone@dinnerbone.com>
This commit is contained in:
parent
f0065e3eef
commit
e703255cb4
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue