From 93611b84377e6453d1444a91b4d9ffda08cdf7f2 Mon Sep 17 00:00:00 2001 From: Tiger Wang Date: Sun, 6 Jun 2021 17:20:21 +0100 Subject: SetBedPos: make World parameter non-null * Fixes #5190 --- src/Entities/Player.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/Entities/Player.h') diff --git a/src/Entities/Player.h b/src/Entities/Player.h index f4ce76f21..dc30fca30 100644 --- a/src/Entities/Player.h +++ b/src/Entities/Player.h @@ -520,10 +520,10 @@ public: /** Sets the player's bed (home / respawn) position to the specified position. Sets the respawn world to the player's world. */ - void SetBedPos(const Vector3i & a_Pos); + void SetBedPos(const Vector3i a_Position); /** Sets the player's bed (home / respawn) position and respawn world to the specified parameters. */ - void SetBedPos(const Vector3i & a_Pos, cWorld * a_World); + void SetBedPos(const Vector3i a_Position, const cWorld & a_World); // tolua_end -- cgit v1.2.3