Merge remote-tracking branch 'origin/recode/3.0.0' into recode/3.0.0

This commit is contained in:
FlorianMichael 2023-12-03 02:27:19 +01:00
commit 9e92f973c7
No known key found for this signature in database
GPG Key ID: C2FB87E71C425126

View File

@ -42,7 +42,7 @@ public class ArmorHudEmulation1_8 {
private static double oldArmor = 0;
public static void init() {
ClientTickEvents.START_WORLD_TICK.register(world -> {
ClientTickEvents.START_CLIENT_TICK.register(world -> {
if (!VisualSettings.global().emulateArmorHud.isEnabled()) {
return;
}
@ -56,6 +56,8 @@ public class ArmorHudEmulation1_8 {
ViaFabricPlus.global().getLogger().error("Error sending armor update", t);
}
}
} else {
oldArmor = 0;
}
});
}