aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/kr/syeyoung/dungeonsguide/features
diff options
context:
space:
mode:
authorsyeyoung <cyong06@naver.com>2021-07-21 19:58:25 +0900
committersyeyoung <cyong06@naver.com>2021-07-21 19:58:25 +0900
commitec08bfa3573edf15b4e02039f6cdcd818b82b4ec (patch)
treebf81e6f79a15d875217ec188c4135019035e76ec /src/main/java/kr/syeyoung/dungeonsguide/features
parent00c10f6852e9974d913b0ce2ffda89e80b6bba32 (diff)
downloadSkyblock-Dungeons-Guide-ec08bfa3573edf15b4e02039f6cdcd818b82b4ec.tar.gz
Skyblock-Dungeons-Guide-ec08bfa3573edf15b4e02039f6cdcd818b82b4ec.tar.bz2
Skyblock-Dungeons-Guide-ec08bfa3573edf15b4e02039f6cdcd818b82b4ec.zip
Fix box mobs not working
Diffstat (limited to 'src/main/java/kr/syeyoung/dungeonsguide/features')
-rw-r--r--src/main/java/kr/syeyoung/dungeonsguide/features/impl/dungeon/FeatureBoxSkelemaster.java2
-rw-r--r--src/main/java/kr/syeyoung/dungeonsguide/features/impl/dungeon/FeatureBoxStarMobs.java2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/kr/syeyoung/dungeonsguide/features/impl/dungeon/FeatureBoxSkelemaster.java b/src/main/java/kr/syeyoung/dungeonsguide/features/impl/dungeon/FeatureBoxSkelemaster.java
index 5020edc6..4e80ccf6 100644
--- a/src/main/java/kr/syeyoung/dungeonsguide/features/impl/dungeon/FeatureBoxSkelemaster.java
+++ b/src/main/java/kr/syeyoung/dungeonsguide/features/impl/dungeon/FeatureBoxSkelemaster.java
@@ -56,7 +56,7 @@ public class FeatureBoxSkelemaster extends SimpleFeature implements WorldRenderL
@Override
public boolean apply(@Nullable EntityArmorStand input) {
if (player.distanceSq(input.getPosition()) > sq) return false;
- if (input.isInvisible() || !input.getAlwaysRenderNameTag()) return false;
+ if (!input.getAlwaysRenderNameTag()) return false;
return input.getName().contains("Skeleton Master");
}
});
diff --git a/src/main/java/kr/syeyoung/dungeonsguide/features/impl/dungeon/FeatureBoxStarMobs.java b/src/main/java/kr/syeyoung/dungeonsguide/features/impl/dungeon/FeatureBoxStarMobs.java
index 1710e74d..bce0ef21 100644
--- a/src/main/java/kr/syeyoung/dungeonsguide/features/impl/dungeon/FeatureBoxStarMobs.java
+++ b/src/main/java/kr/syeyoung/dungeonsguide/features/impl/dungeon/FeatureBoxStarMobs.java
@@ -56,7 +56,7 @@ public class FeatureBoxStarMobs extends SimpleFeature implements WorldRenderList
@Override
public boolean apply(@Nullable EntityArmorStand input) {
if (player.distanceSq(input.getPosition()) > sq) return false;
- if (input.isInvisible() || !input.getAlwaysRenderNameTag()) return false;
+ if (!input.getAlwaysRenderNameTag()) return false;
return input.getName().contains("✯");
}
});