mirror of
https://github.com/Wurst-Imperium/Wurst7.git
synced 2024-09-20 01:12:13 +02:00
Auto clean up
This commit is contained in:
parent
12e370f550
commit
23bff19cbe
@ -31,8 +31,9 @@ public final class HealthTagsHack extends Hack
|
||||
return nametag;
|
||||
|
||||
int health = (int)entity.getHealth();
|
||||
|
||||
MutableText formattedHealth = new LiteralText(" ").append(Integer.toString(health)).formatted(getColor(health));
|
||||
|
||||
MutableText formattedHealth = new LiteralText(" ")
|
||||
.append(Integer.toString(health)).formatted(getColor(health));
|
||||
return ((MutableText)nametag).append(formattedHealth);
|
||||
}
|
||||
|
||||
|
@ -21,7 +21,6 @@ import net.minecraft.client.render.entity.EntityRenderer;
|
||||
import net.minecraft.client.util.math.MatrixStack;
|
||||
import net.minecraft.entity.Entity;
|
||||
import net.minecraft.entity.LivingEntity;
|
||||
import net.minecraft.text.LiteralText;
|
||||
import net.minecraft.text.Text;
|
||||
import net.minecraft.util.math.Matrix4f;
|
||||
import net.wurstclient.WurstClient;
|
||||
|
Loading…
Reference in New Issue
Block a user