summaryrefslogtreecommitdiffstats
path: root/src/Items/ItemHoe.h
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2015-12-06 13:40:45 +0100
committerMattes D <github@xoft.cz>2015-12-06 13:40:45 +0100
commit68e575c917f03f04266df72f32836ac9df2ecdc0 (patch)
treef2e174a141b17d823a6a43c0f857332bf25c3342 /src/Items/ItemHoe.h
parentMerge pull request #2714 from Gargaj/patch-3 (diff)
parentTilling dirt should send block update (diff)
downloadcuberite-68e575c917f03f04266df72f32836ac9df2ecdc0.tar
cuberite-68e575c917f03f04266df72f32836ac9df2ecdc0.tar.gz
cuberite-68e575c917f03f04266df72f32836ac9df2ecdc0.tar.bz2
cuberite-68e575c917f03f04266df72f32836ac9df2ecdc0.tar.lz
cuberite-68e575c917f03f04266df72f32836ac9df2ecdc0.tar.xz
cuberite-68e575c917f03f04266df72f32836ac9df2ecdc0.tar.zst
cuberite-68e575c917f03f04266df72f32836ac9df2ecdc0.zip
Diffstat (limited to 'src/Items/ItemHoe.h')
-rw-r--r--src/Items/ItemHoe.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Items/ItemHoe.h b/src/Items/ItemHoe.h
index ce6355ee7..62581e943 100644
--- a/src/Items/ItemHoe.h
+++ b/src/Items/ItemHoe.h
@@ -57,7 +57,7 @@ public:
}
}
- a_World->FastSetBlock(a_BlockX, a_BlockY, a_BlockZ, NewBlock, 0);
+ a_World->SetBlock(a_BlockX, a_BlockY, a_BlockZ, NewBlock, 0);
a_World->BroadcastSoundEffect("dig.gravel", a_BlockX + 0.5, a_BlockY + 0.5, a_BlockZ + 0.5, 1.0f, 0.8f);
a_Player->UseEquippedItem();
return true;