1
0

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

View File

@@ -28,7 +28,8 @@ 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);
UNUSED(a_ChunkInterface);
a_WorldInterface.SendBlockTo(a_BlockX, a_BlockY, a_BlockZ, a_Player);
}