mirror of
https://github.com/Miasmusa/Shadow.git
synced 2024-11-14 19:04:54 -05:00
the nametags comment uncomment
This commit is contained in:
parent
6996805f9a
commit
c77d944eef
1 changed files with 1 additions and 1 deletions
|
@ -125,7 +125,7 @@ public class NameTags extends Module {
|
|||
@Override
|
||||
public void onWorldRender(MatrixStack matrices) {
|
||||
// sort the entire thing based on the most distant to the least distant because thats how rendering works
|
||||
for (AbstractClientPlayerEntity player : client.world.getPlayers().stream().sorted(Comparator.comparingDouble(value -> -value.getPos().distanceTo(client.gameRenderer.getCamera().getPos())))/*.filter(abstractClientPlayerEntity -> !abstractClientPlayerEntity.equals(client.player))*/.toList()) {
|
||||
for (AbstractClientPlayerEntity player : client.world.getPlayers().stream().sorted(Comparator.comparingDouble(value -> -value.getPos().distanceTo(client.gameRenderer.getCamera().getPos()))).filter(abstractClientPlayerEntity -> !abstractClientPlayerEntity.equals(client.player)).toList()) {
|
||||
// String t = player.getEntityName();
|
||||
render(matrices, player, player.getName());
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue