From 268adeb5710990ebd95edda3b42b0cf13f58bf8b Mon Sep 17 00:00:00 2001 From: TwistedAsylumMC Date: Mon, 18 Nov 2024 13:03:25 +0000 Subject: [PATCH] packet/player_armour_damage.go: Fix constant offsets --- minecraft/protocol/packet/player_armour_damage.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/minecraft/protocol/packet/player_armour_damage.go b/minecraft/protocol/packet/player_armour_damage.go index a9492cf3..4964ede1 100644 --- a/minecraft/protocol/packet/player_armour_damage.go +++ b/minecraft/protocol/packet/player_armour_damage.go @@ -5,7 +5,7 @@ import ( ) const ( - PlayerArmourDamageFlagHelmet = 1 << (iota + 1) + PlayerArmourDamageFlagHelmet = 1 << iota PlayerArmourDamageFlagChestplate PlayerArmourDamageFlagLeggings PlayerArmourDamageFlagBoots