mirror of
https://github.com/ViaVersion/ViaFabricPlus.git
synced 2024-11-22 11:56:21 +01:00
Merge remote-tracking branch 'origin/recode/3.0.0' into recode/3.0.0
This commit is contained in:
commit
9e92f973c7
@ -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;
|
||||
}
|
||||
});
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user