1.8: Added difficulty sending
This commit is contained in:
parent
8151c79a87
commit
eb19eff5ac
@ -666,6 +666,12 @@ void cProtocol180::SendLogin(const cPlayer & a_Player, const cWorld & a_World)
|
||||
Pkt.WritePosition(a_World.GetSpawnX(), a_World.GetSpawnY(), a_World.GetSpawnZ());
|
||||
}
|
||||
|
||||
// Send the server difficulty:
|
||||
{
|
||||
cPacketizer Pkt(*this, 0x41);
|
||||
Pkt.WriteChar(1);
|
||||
}
|
||||
|
||||
// Send player abilities:
|
||||
SendPlayerAbilities();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user