Archiviert
13
0

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:
feildmaster 2012-08-12 16:50:00 -05:00
Ursprung aa92f0e313
Commit 8748c8c757

Datei anzeigen

@ -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?