aboutsummaryrefslogtreecommitdiff
path: root/mod
diff options
context:
space:
mode:
Diffstat (limited to 'mod')
-rw-r--r--mod/src/main/java/kr/syeyoung/dungeonsguide/mod/features/impl/dungeon/FeatureHideNameTags.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/src/main/java/kr/syeyoung/dungeonsguide/mod/features/impl/dungeon/FeatureHideNameTags.java b/mod/src/main/java/kr/syeyoung/dungeonsguide/mod/features/impl/dungeon/FeatureHideNameTags.java
index 1c882131..1818e0a7 100644
--- a/mod/src/main/java/kr/syeyoung/dungeonsguide/mod/features/impl/dungeon/FeatureHideNameTags.java
+++ b/mod/src/main/java/kr/syeyoung/dungeonsguide/mod/features/impl/dungeon/FeatureHideNameTags.java
@@ -42,7 +42,7 @@ public class FeatureHideNameTags extends SimpleFeature {
if (renderPlayerEvent.entity instanceof EntityArmorStand) {
EntityArmorStand armorStand = (EntityArmorStand) renderPlayerEvent.entity;
- if (armorStand.getAlwaysRenderNameTag())
+ if (armorStand.getAlwaysRenderNameTag() && armorStand.getName().contains("❤"))
renderPlayerEvent.setCanceled(true);
}
}