summaryrefslogtreecommitdiffstats
path: root/src/main/java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java')
-rw-r--r--src/main/java/net/minecraft/server/Chunk.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main/java/net/minecraft/server/Chunk.java b/src/main/java/net/minecraft/server/Chunk.java
index 95b47049..014136c1 100644
--- a/src/main/java/net/minecraft/server/Chunk.java
+++ b/src/main/java/net/minecraft/server/Chunk.java
@@ -430,12 +430,13 @@ public class Chunk {
block1.f(this.world, l1, j, i2, k1);
}
- chunksection.setTypeId(i, j & 15, k, block);
+ // chunksection.setTypeId(i, j & 15, k, block); // CraftBukkit - Moved down
if (!this.world.isStatic) {
block1.remove(this.world, l1, j, i2, block1, k1);
} else if (block1 instanceof IContainer && block1 != block) {
this.world.p(l1, j, i2);
}
+ chunksection.setTypeId(i, j & 15, k, block); // CraftBukkit - Set new block after cleaning up old one
if (chunksection.getTypeId(i, j & 15, k) != block) {
return false;