fix(Scripts/Commands): .gps formatting transport offset (#19890)
* Update cs_misc.cpp * Update PlayerUpdates.cpp
This commit is contained in:
parent
dd2167b00b
commit
e7448f2986
2 changed files with 2 additions and 2 deletions
|
|
@ -265,7 +265,7 @@ void Player::Update(uint32 p_time)
|
|||
|
||||
if (!IsPositionValid()) // pussywizard: will crash below at eg. GetZoneAndAreaId
|
||||
{
|
||||
LOG_INFO("misc", "Player::Update - invalid position ({0:.1f}, {0:.1f}, {0:.1f})! Map: {}, MapId: {}, {}",
|
||||
LOG_INFO("misc", "Player::Update - invalid position ({:0.1f}, {:0.1f}, {:0.1f})! Map: {}, MapId: {}, {}",
|
||||
GetPositionX(), GetPositionY(), GetPositionZ(), (FindMap() ? FindMap()->GetId() : 0), GetMapId(), GetGUID().ToString());
|
||||
GetSession()->KickPlayer("Invalid position");
|
||||
return;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue