Add SendBlockTo to cWorldInterface

This commit is contained in:
Howaner
2014-03-05 19:33:43 +01:00
parent ee1ba3e0b0
commit 594ddd86a0
9 changed files with 18 additions and 10 deletions
+1 -1
View File
@@ -50,7 +50,7 @@ public:
virtual void OnCancelRightClick(cChunkInterface & a_ChunkInterface, cWorldInterface & a_WorldInterface, cPlayer * a_Player, int a_BlockX, int a_BlockY, int a_BlockZ, eBlockFace a_BlockFace) override
{
a_Player->GetWorld()->SendBlockTo(a_BlockX, a_BlockY, a_BlockZ, a_Player);
a_WorldInterface.SendBlockTo(a_BlockX, a_BlockY, a_BlockZ, a_Player);
}