Skip to content

Commit 031ae32

Browse files
authored
Only set hologram state if name tag is visible (#652)
1 parent e836161 commit 031ae32

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

common/src/main/java/com/viaversion/viarewind/protocol/v1_8to1_7_6_10/data/VirtualHologramEntity.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ public void syncState(final EntityPacketRewriter1_8 entityRewriter, final List<E
120120
gravity = (armorStandFlags & 0x02) == 0;
121121

122122
State prevState = currentState;
123-
if (invisible && name != null) {
123+
if (invisible && name != null && alwaysShowNametag == 1) {
124124
currentState = State.HOLOGRAM;
125125
} else if (gravity) {
126126
currentState = State.ZOMBIE;

0 commit comments

Comments
 (0)