mirror of
https://github.com/p2r3/bareiron.git
synced 2025-10-01 23:25:09 +02:00
support placing blocks on containers while sneaking
This commit is contained in:
@@ -95,6 +95,7 @@ typedef struct {
|
||||
uint8_t craft_count[9];
|
||||
// 0x01 - attack cooldown
|
||||
// 0x02 - has not spawned yet
|
||||
// 0x04 - sneaking
|
||||
uint8_t flags;
|
||||
} PlayerData;
|
||||
|
||||
|
@@ -49,6 +49,7 @@ int sc_systemChat (int client_fd, char* message, uint16_t len);
|
||||
int cs_interact (int client_fd);
|
||||
int sc_entityEvent (int client_fd, int entity_id, uint8_t status);
|
||||
int sc_removeEntity (int client_fd, int entity_id);
|
||||
int cs_playerInput (int client_fd);
|
||||
int sc_registries (int client_fd);
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user