From 9dee10873da43e15d870a3d3d621c0e04d205f4c Mon Sep 17 00:00:00 2001 From: md_5 Date: Tue, 6 Dec 2016 20:46:04 +1100 Subject: SPIGOT-2890: SetBiome not saving changes --- src/main/java/org/bukkit/craftbukkit/CraftWorld.java | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') diff --git a/src/main/java/org/bukkit/craftbukkit/CraftWorld.java b/src/main/java/org/bukkit/craftbukkit/CraftWorld.java index ffef56a7..80e65f59 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 } } } -- cgit v1.2.3