aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/kr/syeyoung/dungeonsguide/dungeon
diff options
context:
space:
mode:
authorsyeyoung <cyong06@naver.com>2021-01-09 18:02:59 +0900
committersyeyoung <cyong06@naver.com>2021-01-09 18:02:59 +0900
commit282c57eceb033bb5b98fe8d742db983716a90594 (patch)
treeb3fc6ff91b84bd42747a22f6f763cca9be5ad762 /src/main/java/kr/syeyoung/dungeonsguide/dungeon
parent1dd4751514a05e493683f4bba7f9dcd94ba5f438 (diff)
downloadSkyblock-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-xsrc/main/java/kr/syeyoung/dungeonsguide/dungeon/DungeonContext.java3
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());
}