Mirror von
https://github.com/PaperMC/Paper.git
synchronisiert 2024-12-18 12:30:06 +01:00
Enable hardcore support. Fixes BUKKIT-2259
- Hardcore requires a newly generated world - You will be banned if you die in a hardcore world - You will NOT be banned if you die in a non-vanilla world - Your "heart container" will not change without logging back in. (Vanilla bug)
Dieser Commit ist enthalten in:
Ursprung
aa92f0e313
Commit
8748c8c757
@ -161,7 +161,7 @@ public abstract class MinecraftServer implements Runnable, IMojangStatistics, IC
|
||||
String name = (dimension == 0) ? s : s + "_" + worldType;
|
||||
|
||||
org.bukkit.generator.ChunkGenerator gen = this.server.getGenerator(name);
|
||||
WorldSettings worldsettings = new WorldSettings(i, this.getGamemode(), this.getGenerateStructures(), false, worldtype);
|
||||
WorldSettings worldsettings = new WorldSettings(i, this.getGamemode(), this.getGenerateStructures(), this.isHardcore(), worldtype);
|
||||
|
||||
if (j == 0) {
|
||||
if (this.L()) { // Strip out DEMO?
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren