mirror of
https://github.com/HibiscusMC/HMCCosmetics.git
synced 2025-12-23 17:09:24 +00:00
Fix errors
This commit is contained in:
@@ -181,7 +181,7 @@ public abstract class BaseUser<T> {
|
||||
final boolean inViewDistance = this.isInViewDistance(location, other.getLocation(), settings.getCosmeticSettings());
|
||||
final boolean shouldShow = shouldShow(other);
|
||||
final UUID otherUUID = other.getUniqueId();
|
||||
final boolean hasBackpack = !this.playerArmor.getArmorItem(ArmorItem.Type.BACKPACK).isEmpty();
|
||||
final boolean hasBackpack = !this.playerArmor.getItem(ArmorItem.Type.BACKPACK).isEmpty();
|
||||
if (!this.viewingArmorStand.contains(otherUUID)) {
|
||||
if (!inViewDistance || !shouldShow || !hasBackpack) {
|
||||
if (this.viewingBalloon.contains(otherUUID)) {
|
||||
|
||||
Reference in New Issue
Block a user