From c3184f875d6098e7568ff066e1ea7bfdc7afadd1 Mon Sep 17 00:00:00 2001 From: Parker Hawke Date: Tue, 11 Aug 2020 17:35:56 +1000 Subject: [PATCH] SPIGOT-6053: World#setHardcore() cannot be set to false --- src/main/java/org/bukkit/craftbukkit/CraftWorld.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/bukkit/craftbukkit/CraftWorld.java b/src/main/java/org/bukkit/craftbukkit/CraftWorld.java index 3a1280ac27..b2a4a165cd 100644 --- a/src/main/java/org/bukkit/craftbukkit/CraftWorld.java +++ b/src/main/java/org/bukkit/craftbukkit/CraftWorld.java @@ -1921,7 +1921,7 @@ public class CraftWorld implements World { @Override public void setHardcore(boolean hardcore) { - world.worldDataServer.b.hardcore = true; + world.worldDataServer.b.hardcore = hardcore; } @Override