summaryrefslogtreecommitdiffstats
path: root/src/Entities/Player.cpp
diff options
context:
space:
mode:
authorKiryu144 <123davidLP@gmail.com>2021-07-23 11:14:01 +0200
committerGitHub <noreply@github.com>2021-07-23 11:14:01 +0200
commit36a97d441bbb164c59d095aef1ef73f41fa38247 (patch)
tree76145c1abfc0093ab60da41077084383be8f09f4 /src/Entities/Player.cpp
parentSetting command-block's command requires a permission. (#5270) (diff)
downloadcuberite-36a97d441bbb164c59d095aef1ef73f41fa38247.tar
cuberite-36a97d441bbb164c59d095aef1ef73f41fa38247.tar.gz
cuberite-36a97d441bbb164c59d095aef1ef73f41fa38247.tar.bz2
cuberite-36a97d441bbb164c59d095aef1ef73f41fa38247.tar.lz
cuberite-36a97d441bbb164c59d095aef1ef73f41fa38247.tar.xz
cuberite-36a97d441bbb164c59d095aef1ef73f41fa38247.tar.zst
cuberite-36a97d441bbb164c59d095aef1ef73f41fa38247.zip
Diffstat (limited to 'src/Entities/Player.cpp')
-rw-r--r--src/Entities/Player.cpp18
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))