diff options
Diffstat (limited to 'src/main')
-rw-r--r-- | src/main/java/org/bukkit/craftbukkit/block/CraftBlock.java | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/main/java/org/bukkit/craftbukkit/block/CraftBlock.java b/src/main/java/org/bukkit/craftbukkit/block/CraftBlock.java index 35d3ebc5..c6d382a7 100644 --- a/src/main/java/org/bukkit/craftbukkit/block/CraftBlock.java +++ b/src/main/java/org/bukkit/craftbukkit/block/CraftBlock.java @@ -139,7 +139,11 @@ public class CraftBlock implements Block { if (applyPhysics) { return chunk.getHandle().d.b(x, y, z, type, data); } else { - return chunk.getHandle().d.setTypeIdAndData(x, y, z, type, data); + boolean success = chunk.getHandle().d.setTypeIdAndData(x, y, z, type, data); + if(success) { + chunk.getHandle().d.g(x, y, z); + } + return success; } } |