mirror of
https://github.com/CitizensDev/Citizens2.git
synced 2025-02-27 09:42:37 +01:00
Armor stands shouldn't have holograms even if the setting is enabled
This commit is contained in:
parent
5907c1c8b2
commit
62e44c25ed
@ -170,7 +170,8 @@ public class CitizensNPC extends AbstractNPC {
|
||||
|
||||
@Override
|
||||
public boolean requiresNameHologram() {
|
||||
return super.requiresNameHologram() || Setting.ALWAYS_USE_NAME_HOLOGRAM.asBoolean();
|
||||
return super.requiresNameHologram()
|
||||
|| (getEntityType() != EntityType.ARMOR_STAND && Setting.ALWAYS_USE_NAME_HOLOGRAM.asBoolean());
|
||||
}
|
||||
|
||||
private void resetCachedCoord() {
|
||||
|
Loading…
Reference in New Issue
Block a user