diff options
Diffstat (limited to '')
-rw-r--r-- | src/Entities/Player.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/Entities/Player.cpp b/src/Entities/Player.cpp index db64d2e1d..ad8d79fbb 100644 --- a/src/Entities/Player.cpp +++ b/src/Entities/Player.cpp @@ -2333,15 +2333,6 @@ void cPlayer::LoadRank(void) -bool cPlayer::PlaceBlock(const Vector3i a_Position, BLOCKTYPE a_BlockType, NIBBLETYPE a_BlockMeta) -{ - return PlaceBlocks({ { a_Position, a_BlockType, a_BlockMeta } }); -} - - - - - void cPlayer::SendBlocksAround(int a_BlockX, int a_BlockY, int a_BlockZ, int a_Range) { // Collect the coords of all the blocks to send: @@ -2457,6 +2448,15 @@ const cUUID & cPlayer::GetUUID(void) const +bool cPlayer::PlaceBlock(const Vector3i a_Position, BLOCKTYPE a_BlockType, NIBBLETYPE a_BlockMeta) +{ + return PlaceBlocks({ { a_Position, a_BlockType, a_BlockMeta } }); +} + + + + + bool cPlayer::PlaceBlocks(const std::initializer_list<sSetBlock> a_Blocks) { if (DoesPlacingBlocksIntersectEntity(a_Blocks)) |