1
0
mirror of https://github.com/p2r3/bareiron.git synced 2025-10-01 23:25:09 +02:00

prevent players from dropping and losing items

This commit is contained in:
p2r3
2025-08-24 20:41:48 +03:00
parent ab9ed43a9b
commit 549745516f
6 changed files with 80 additions and 12 deletions

View File

@@ -91,8 +91,10 @@ typedef struct {
uint8_t hotbar;
uint16_t inventory_items[41];
uint16_t craft_items[9];
uint16_t cursor_item;
uint8_t inventory_count[41];
uint8_t craft_count[9];
uint8_t cursor_count;
// 0x01 - attack cooldown
// 0x02 - has not spawned yet
// 0x04 - sneaking