diff options
author | syeyoung <cyong06@naver.com> | 2021-01-09 18:02:59 +0900 |
---|---|---|
committer | syeyoung <cyong06@naver.com> | 2021-01-09 18:02:59 +0900 |
commit | 282c57eceb033bb5b98fe8d742db983716a90594 (patch) | |
tree | b3fc6ff91b84bd42747a22f6f763cca9be5ad762 /src/main/java/kr/syeyoung/dungeonsguide/dungeon | |
parent | 1dd4751514a05e493683f4bba7f9dcd94ba5f438 (diff) | |
download | Skyblock-Dungeons-Guide-282c57eceb033bb5b98fe8d742db983716a90594.tar.gz Skyblock-Dungeons-Guide-282c57eceb033bb5b98fe8d742db983716a90594.tar.bz2 Skyblock-Dungeons-Guide-282c57eceb033bb5b98fe8d742db983716a90594.zip |
map confirm working
Diffstat (limited to 'src/main/java/kr/syeyoung/dungeonsguide/dungeon')
-rwxr-xr-x | src/main/java/kr/syeyoung/dungeonsguide/dungeon/DungeonContext.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main/java/kr/syeyoung/dungeonsguide/dungeon/DungeonContext.java b/src/main/java/kr/syeyoung/dungeonsguide/dungeon/DungeonContext.java index b80813b4..ddbfa299 100755 --- a/src/main/java/kr/syeyoung/dungeonsguide/dungeon/DungeonContext.java +++ b/src/main/java/kr/syeyoung/dungeonsguide/dungeon/DungeonContext.java @@ -67,7 +67,8 @@ public class DungeonContext { public void tick() { mapProcessor.tick(); - if (mapProcessor.isInitialized() && BossRoomEnterSeconds != -1 && !roomBoundary.contains(mapProcessor.worldPointToMapPoint(Minecraft.getMinecraft().thePlayer.getPositionVector()))) { + + if (mapProcessor.isInitialized() && BossRoomEnterSeconds == -1 && !roomBoundary.contains(mapProcessor.worldPointToMapPoint(Minecraft.getMinecraft().thePlayer.getPositionVector()))) { BossRoomEnterSeconds = FeatureRegistry.DUNGEON_SBTIME.getTimeElapsed() / 1000; MinecraftForge.EVENT_BUS.post(new BossroomEnterEvent()); } |