Skip to content

Commit

Permalink
packet/player_armour_damage.go: Fix constant offsets
Browse files Browse the repository at this point in the history
  • Loading branch information
TwistedAsylumMC committed Aug 20, 2024
1 parent 1c85aa8 commit afd9189
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion minecraft/protocol/packet/player_armour_damage.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
)

const (
PlayerArmourDamageFlagHelmet = 1 << (iota + 1)
PlayerArmourDamageFlagHelmet = 1 << iota
PlayerArmourDamageFlagChestplate
PlayerArmourDamageFlagLeggings
PlayerArmourDamageFlagBoots
Expand Down

0 comments on commit afd9189

Please sign in to comment.