0
0
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:
Alexander01998 2020-10-20 12:34:19 +02:00
parent 12e370f550
commit 23bff19cbe
2 changed files with 3 additions and 3 deletions

View File

@ -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);
}

View File

@ -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;