mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-13 16:45:20 +02:00
Refactor builtin HUD (#14346)
This commit is contained in:
@@ -1784,8 +1784,6 @@ void Server::SendHUDSetFlags(session_t peer_id, u32 flags, u32 mask)
|
||||
{
|
||||
NetworkPacket pkt(TOCLIENT_HUD_SET_FLAGS, 4 + 4, peer_id);
|
||||
|
||||
flags &= ~(HUD_FLAG_HEALTHBAR_VISIBLE | HUD_FLAG_BREATHBAR_VISIBLE);
|
||||
|
||||
pkt << flags << mask;
|
||||
|
||||
Send(&pkt);
|
||||
|
Reference in New Issue
Block a user