send all player's items to clients

This commit is contained in:
2024-01-21 12:56:12 -06:00
parent 8aff29e0b8
commit 85824ef22f
2 changed files with 3 additions and 8 deletions

View File

@@ -24,7 +24,7 @@ type Player struct {
// HP is the player's current health.
HP int8 `json:"hp"`
// Items is the player's items.
Items []string `json:"items,omitempty"`
Items [8]string `json:"items"`
// Cuffs is whether the player is currently wearing cuffs.
Cuffs bool `json:"cuffs,omitempty"`
}