diff options
author | feildmaster <admin@feildmaster.com> | 2012-08-12 16:50:00 -0500 |
---|---|---|
committer | feildmaster <admin@feildmaster.com> | 2012-08-12 16:50:00 -0500 |
commit | 8748c8c757535725a87199c93e66beefe6afa954 (patch) | |
tree | 34aa5c1f77901cdba8175c6a536ebdbe054835d0 /src | |
parent | aa92f0e3134638a0a83738644b641e11edd3dd36 (diff) | |
download | craftbukkit-8748c8c757535725a87199c93e66beefe6afa954.tar craftbukkit-8748c8c757535725a87199c93e66beefe6afa954.tar.gz craftbukkit-8748c8c757535725a87199c93e66beefe6afa954.tar.lz craftbukkit-8748c8c757535725a87199c93e66beefe6afa954.tar.xz craftbukkit-8748c8c757535725a87199c93e66beefe6afa954.zip |
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)
Diffstat (limited to 'src')
-rw-r--r-- | src/main/java/net/minecraft/server/MinecraftServer.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/net/minecraft/server/MinecraftServer.java b/src/main/java/net/minecraft/server/MinecraftServer.java index 8c1815b4..21545ca9 100644 --- a/src/main/java/net/minecraft/server/MinecraftServer.java +++ b/src/main/java/net/minecraft/server/MinecraftServer.java @@ -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? |