9
0
mirror of https://github.com/HibiscusMC/HMCCosmetics.git synced 2025-12-23 17:09:24 +00:00

Fix errors

This commit is contained in:
Kacper Smoliński
2022-03-07 16:53:50 +01:00
committed by GitHub
parent 49681c7c1d
commit 8045a63964

View File

@@ -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)) {