From 5ea7675eca4fe50feed7fc4b871075f8c937d8b1 Mon Sep 17 00:00:00 2001 From: x12xx12x <44411062+12xx12@users.noreply.github.com> Date: Tue, 19 Apr 2022 20:30:12 +0200 Subject: Updated protocol functions to Vector3x also added support in included functions --- src/Entities/Player.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Entities/Player.h') diff --git a/src/Entities/Player.h b/src/Entities/Player.h index 2f2b9d62e..87b3accda 100644 --- a/src/Entities/Player.h +++ b/src/Entities/Player.h @@ -554,7 +554,7 @@ public: /** Sends the block in the specified range around the specified coord to the client as a block change packet. The blocks in range (a_BlockX - a_Range, a_BlockX + a_Range) are sent (NY-metric). */ - void SendBlocksAround(int a_BlockX, int a_BlockY, int a_BlockZ, int a_Range = 1); + void SendBlocksAround(Vector3i a_BlockPos, int a_Range = 1); bool HasSkinPart(eSkinPart a_Part) const { return (m_SkinParts & a_Part) != 0; } int GetSkinParts(void) const { return m_SkinParts; } -- cgit v1.2.3