summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/main/java/net/minecraft/server/World.java5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/main/java/net/minecraft/server/World.java b/src/main/java/net/minecraft/server/World.java
index 3d7cdfc9..dc8a5f71 100644
--- a/src/main/java/net/minecraft/server/World.java
+++ b/src/main/java/net/minecraft/server/World.java
@@ -440,15 +440,12 @@ public class World implements IBlockAccess {
}
public boolean setTypeIdAndData(int i, int j, int k, int l, int i1) {
- // CraftBukkit start
- int old = this.getTypeId(i, j, k);
if (this.setRawTypeIdAndData(i, j, k, l, i1)) {
- this.update(i, j, k, l == 0 ? old : l);
+ this.update(i, j, k, l);
return true;
} else {
return false;
}
- // CraftBukkit end
}
public void notify(int i, int j, int k) {