This commit is contained in:
michael.reiswich
2021-03-30 23:51:14 +02:00
parent c7165f3d2c
commit f25783581e

View File

@@ -20,7 +20,7 @@ export default function customNametags() {
let scale = distance / maxDistance;
if (scale < 0.6) scale = 0.6;
var health = player.getHealth();
var health = player.getHealth() / 100;
//health = health < 100 ? 0 : (health - 100) / 100;
var armour = player.getArmour() / 100;