summaryrefslogtreecommitdiffstats
path: root/src/Items
diff options
context:
space:
mode:
authorGargaj <gargaj@conspiracy.hu>2015-12-05 15:42:15 +0100
committerGargaj <gargaj@conspiracy.hu>2015-12-06 12:59:38 +0100
commit41761624c27a6ea94c5d7ba8c97546dd28609c16 (patch)
treef2e174a141b17d823a6a43c0f857332bf25c3342 /src/Items
parentMerge pull request #2714 from Gargaj/patch-3 (diff)
downloadcuberite-41761624c27a6ea94c5d7ba8c97546dd28609c16.tar
cuberite-41761624c27a6ea94c5d7ba8c97546dd28609c16.tar.gz
cuberite-41761624c27a6ea94c5d7ba8c97546dd28609c16.tar.bz2
cuberite-41761624c27a6ea94c5d7ba8c97546dd28609c16.tar.lz
cuberite-41761624c27a6ea94c5d7ba8c97546dd28609c16.tar.xz
cuberite-41761624c27a6ea94c5d7ba8c97546dd28609c16.tar.zst
cuberite-41761624c27a6ea94c5d7ba8c97546dd28609c16.zip
Diffstat (limited to '')
-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;