World: change spawnpoint type to int (#5313)
* World: change spawnpoint type to int As Vanilla does.
This commit is contained in:
@@ -844,7 +844,7 @@ void cProtocol_1_8_0::SendLogin(const cPlayer & a_Player, const cWorld & a_World
|
||||
// Send the spawn position:
|
||||
{
|
||||
cPacketizer Pkt(*this, pktSpawnPosition);
|
||||
Pkt.WriteXYZPosition64(FloorC(a_World.GetSpawnX()), FloorC(a_World.GetSpawnY()), FloorC(a_World.GetSpawnZ()));
|
||||
Pkt.WriteXYZPosition64(a_World.GetSpawnX(), a_World.GetSpawnY(), a_World.GetSpawnZ());
|
||||
}
|
||||
|
||||
// Send the server difficulty:
|
||||
|
||||
Reference in New Issue
Block a user