mirror of
https://github.com/p2r3/bareiron.git
synced 2025-10-01 23:25:09 +02:00
fix compilation error when targeting esp-idf
This commit is contained in:
@@ -400,12 +400,12 @@ void broadcastPlayerMetadata (PlayerData *player) {
|
||||
{
|
||||
0, // Index (Entity Bit Mask)
|
||||
0, // Type (Byte)
|
||||
entity_bit_mask, // Value
|
||||
{ entity_bit_mask }, // Value
|
||||
},
|
||||
{
|
||||
6, // Index (Pose),
|
||||
21, // Type (Pose),
|
||||
pose, // Value (Standing)
|
||||
{ pose }, // Value (Standing)
|
||||
}
|
||||
};
|
||||
|
||||
@@ -439,7 +439,7 @@ void broadcastMobMetadata (int client_fd, int entity_id) {
|
||||
metadata[0] = (EntityData){
|
||||
17, // Index (Sheep Bit Mask),
|
||||
0, // Type (Byte),
|
||||
(uint8_t)0x10, // Value
|
||||
{ (uint8_t)0x10 }, // Value
|
||||
};
|
||||
length = 1;
|
||||
|
||||
|
Reference in New Issue
Block a user