aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/kr/syeyoung/dungeonsguide/features/impl/dungeon
diff options
context:
space:
mode:
authorsyeyoung <cyong06@naver.com>2021-01-30 19:20:27 +0900
committersyeyoung <cyong06@naver.com>2021-01-30 19:20:27 +0900
commit8d4f019b9a33c4b5acfc28a5cdb530ceaba81923 (patch)
treec8cadf92ff3413f2718db5ff227cf7166dcd970f /src/main/java/kr/syeyoung/dungeonsguide/features/impl/dungeon
parent1e092bb06afd70a58d5aa56dc1aba96fbc79150a (diff)
downloadSkyblock-Dungeons-Guide-8d4f019b9a33c4b5acfc28a5cdb530ceaba81923.tar.gz
Skyblock-Dungeons-Guide-8d4f019b9a33c4b5acfc28a5cdb530ceaba81923.tar.bz2
Skyblock-Dungeons-Guide-8d4f019b9a33c4b5acfc28a5cdb530ceaba81923.zip
fix livid and map
Diffstat (limited to 'src/main/java/kr/syeyoung/dungeonsguide/features/impl/dungeon')
-rw-r--r--src/main/java/kr/syeyoung/dungeonsguide/features/impl/dungeon/FeatureDungeonMap.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/kr/syeyoung/dungeonsguide/features/impl/dungeon/FeatureDungeonMap.java b/src/main/java/kr/syeyoung/dungeonsguide/features/impl/dungeon/FeatureDungeonMap.java
index 962f314d..15f0baaf 100644
--- a/src/main/java/kr/syeyoung/dungeonsguide/features/impl/dungeon/FeatureDungeonMap.java
+++ b/src/main/java/kr/syeyoung/dungeonsguide/features/impl/dungeon/FeatureDungeonMap.java
@@ -180,7 +180,7 @@ public class FeatureDungeonMap extends GuiFeature implements DungeonEndListener,
Point pt2;
double yaw2;
- if (entityplayer != null && !entityplayer.isInvisible()) {
+ if (entityplayer != null && (!entityplayer.isInvisible() || entityplayer == Minecraft.getMinecraft().thePlayer)) {
pt2 = mapProcessor.worldPointToMapPoint(entityplayer.getPositionEyes(partialTicks));
yaw2 = entityplayer.prevRotationYawHead + (entityplayer.rotationYawHead - entityplayer.prevRotationYawHead) * partialTicks;
} else {