diff options
author | md_5 <git@md-5.net> | 2018-08-27 18:27:59 +1000 |
---|---|---|
committer | md_5 <git@md-5.net> | 2018-08-27 18:29:28 +1000 |
commit | c2cbdc5ab41fe4f77a5a28f01d8b79098b1bb392 (patch) | |
tree | 766d5269ec727bc896cd47ca7e64f78314313222 /src | |
parent | f5985747113f69decf936726bd609e55611ab465 (diff) | |
download | craftbukkit-c2cbdc5ab41fe4f77a5a28f01d8b79098b1bb392.tar craftbukkit-c2cbdc5ab41fe4f77a5a28f01d8b79098b1bb392.tar.gz craftbukkit-c2cbdc5ab41fe4f77a5a28f01d8b79098b1bb392.tar.lz craftbukkit-c2cbdc5ab41fe4f77a5a28f01d8b79098b1bb392.tar.xz craftbukkit-c2cbdc5ab41fe4f77a5a28f01d8b79098b1bb392.zip |
SPIGOT-4316: Do even less processing when block placement without physics requested
Diffstat (limited to 'src')
-rw-r--r-- | src/main/java/org/bukkit/craftbukkit/block/CraftBlock.java | 2 |
1 files changed, 1 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 370a222f..92226644 100644 --- a/src/main/java/org/bukkit/craftbukkit/block/CraftBlock.java +++ b/src/main/java/org/bukkit/craftbukkit/block/CraftBlock.java @@ -157,7 +157,7 @@ public class CraftBlock implements Block { return world.setTypeAndData(position, blockData, 3); } else { IBlockData old = world.getType(position); - boolean success = world.setTypeAndData(position, blockData, 18); // NOTIFY | NO_OBSERVER + boolean success = world.setTypeAndData(position, blockData, 2 | 16 | 1024); // NOTIFY | NO_OBSERVER | NO_PLACE (custom) if (success) { world.getMinecraftWorld().notify( position, |