Skip to content

Commit aad71eb

Browse files
committed
model: change health data type to int8
1 parent cabfafc commit aad71eb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

models/player/player.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ type Player struct {
4242
DirectionChangedAt int64 `json:"directionChangedAt"`
4343
Guest bool `json:"guest"`
4444
Distance int `json:"distance"`
45-
Health uint8 `json:"health"`
45+
Health int8 `json:"health"`
4646
AntiCheatFlags int `json:"antiCheatFlags"`
4747
X int `json:"x"`
4848
Y int `json:"y"`

0 commit comments

Comments
 (0)