aboutsummaryrefslogtreecommitdiff
path: root/mod/src/main/java/kr/syeyoung
diff options
context:
space:
mode:
authorsyeyoung <cyoung06@naver.com>2023-02-04 19:35:58 +0900
committersyeyoung <cyoung06@naver.com>2023-02-04 19:35:58 +0900
commit8a74c1813b718aa6d8b1f4991c7838a555115d33 (patch)
tree4e7dada855f9f6adf29ecd8ab10296a2dd00c233 /mod/src/main/java/kr/syeyoung
parentea945d7be62aab1d143b79adc20f243fec673f08 (diff)
downloadSkyblock-Dungeons-Guide-8a74c1813b718aa6d8b1f4991c7838a555115d33.tar.gz
Skyblock-Dungeons-Guide-8a74c1813b718aa6d8b1f4991c7838a555115d33.tar.bz2
Skyblock-Dungeons-Guide-8a74c1813b718aa6d8b1f4991c7838a555115d33.zip
- Fix star mobs staring dmg box
- Fix log spam1 Signed-off-by: syeyoung <cyoung06@naver.com>
Diffstat (limited to 'mod/src/main/java/kr/syeyoung')
-rwxr-xr-xmod/src/main/java/kr/syeyoung/dungeonsguide/mod/dungeon/roomfinder/DungeonRoom.java3
-rw-r--r--mod/src/main/java/kr/syeyoung/dungeonsguide/mod/features/impl/dungeon/FeatureBoxStarMobs.java2
2 files changed, 3 insertions, 2 deletions
diff --git a/mod/src/main/java/kr/syeyoung/dungeonsguide/mod/dungeon/roomfinder/DungeonRoom.java b/mod/src/main/java/kr/syeyoung/dungeonsguide/mod/dungeon/roomfinder/DungeonRoom.java
index 44bad60f..166e6724 100755
--- a/mod/src/main/java/kr/syeyoung/dungeonsguide/mod/dungeon/roomfinder/DungeonRoom.java
+++ b/mod/src/main/java/kr/syeyoung/dungeonsguide/mod/dungeon/roomfinder/DungeonRoom.java
@@ -187,7 +187,8 @@ public class DungeonRoom {
matchRoomAndSetupRoomProcessor();
matched = true;
} catch (Exception e) {
- e.printStackTrace();
+ if (!e.getMessage().contains("Chunk not loaded"))
+ e.printStackTrace();
} finally {
matching = false;
}
diff --git a/mod/src/main/java/kr/syeyoung/dungeonsguide/mod/features/impl/dungeon/FeatureBoxStarMobs.java b/mod/src/main/java/kr/syeyoung/dungeonsguide/mod/features/impl/dungeon/FeatureBoxStarMobs.java
index 38e85304..df6a42a2 100644
--- a/mod/src/main/java/kr/syeyoung/dungeonsguide/mod/features/impl/dungeon/FeatureBoxStarMobs.java
+++ b/mod/src/main/java/kr/syeyoung/dungeonsguide/mod/features/impl/dungeon/FeatureBoxStarMobs.java
@@ -61,7 +61,7 @@ public class FeatureBoxStarMobs extends SimpleFeature {
public boolean apply(@Nullable EntityArmorStand input) {
if (player.distanceSq(input.getPosition()) > sq) return false;
if (!input.getAlwaysRenderNameTag()) return false;
- return input.getName().contains("✯");
+ return input.getName().contains("✯") && input.getName().contains(" ");
}
});
AColor c = this.<AColor>getParameter("color").getValue();