SPIGOT-5496: API to create and manipulate hardcore worlds

By: md_5 <git@md-5.net>
This commit is contained in:
CraftBukkit/Spigot
2020-01-04 10:14:23 +11:00
parent 4a6962f0ba
commit 4f966acb41
2 changed files with 11 additions and 2 deletions

View File

@@ -910,7 +910,7 @@ public final class CraftServer implements Server {
}
}
} while(used);
boolean hardcore = false;
boolean hardcore = creator.hardcore();
WorldNBTStorage sdm = new WorldNBTStorage(getWorldContainer(), name, getServer(), getHandle().getServer().dataConverterManager);
WorldData worlddata = sdm.getWorldData();