From 9dee10873da43e15d870a3d3d621c0e04d205f4c Mon Sep 17 00:00:00 2001 From: md_5 Date: Tue, 6 Dec 2016 20:46:04 +1100 Subject: [PATCH] SPIGOT-2890: SetBiome not saving changes --- src/main/java/org/bukkit/craftbukkit/CraftWorld.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main/java/org/bukkit/craftbukkit/CraftWorld.java b/src/main/java/org/bukkit/craftbukkit/CraftWorld.java index ffef56a7a9..80e65f592b 100644 --- a/src/main/java/org/bukkit/craftbukkit/CraftWorld.java +++ b/src/main/java/org/bukkit/craftbukkit/CraftWorld.java @@ -597,6 +597,8 @@ public class CraftWorld implements World { if (chunk != null) { byte[] biomevals = chunk.getBiomeIndex(); biomevals[((z & 0xF) << 4) | (x & 0xF)] = (byte) BiomeBase.REGISTRY_ID.a(bb); + + chunk.e(); // SPIGOT-2890 // PAIL: markDirty } } }