Skip to content

Commit 72e9495

Browse files
fix: fixed doubling up NPCs
1 parent 007ac74 commit 72e9495

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

  • type.generic/src/main/java/net/swofty/type/generic/entity/npc

type.generic/src/main/java/net/swofty/type/generic/entity/npc/HypixelNPC.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,8 @@ public static void updateForPlayer(HypixelPlayer player) {
107107
throw new IllegalStateException("Unknown NPCConfiguration type: " + config.getClass().getName());
108108
}
109109

110+
entity.setAutoViewable(false);
111+
110112
PlayerHolograms.ExternalPlayerHologram holo = PlayerHolograms.ExternalPlayerHologram.builder()
111113
.pos(position.add(0, 1.1 + yOffset, 0))
112114
.text(Arrays.copyOfRange(holograms, 0, holograms.length - 1))

0 commit comments

Comments
 (0)