mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-22 10:05:32 +01:00
Core: Remove a useless log-error in Unit::BuildMovementPacket()
--HG-- branch : trunk
This commit is contained in:
@@ -16843,10 +16843,8 @@ void Unit::BuildMovementPacket(ByteBuffer *data) const
|
||||
else if (GetTransport())
|
||||
data->append(GetTransport()->GetPackGUID());
|
||||
else
|
||||
{
|
||||
sLog->outError("Unit %u does not have transport!", GetEntry());
|
||||
*data << (uint8)0;
|
||||
}
|
||||
|
||||
*data << float (GetTransOffsetX());
|
||||
*data << float (GetTransOffsetY());
|
||||
*data << float (GetTransOffsetZ());
|
||||
|
||||
Reference in New Issue
Block a user