From d07cfe08841302ad1ce1e29902d06c4c439a589f Mon Sep 17 00:00:00 2001 From: syeyoung Date: Sat, 6 Mar 2021 09:04:04 +0900 Subject: ssl better --- src/main/java/kr/syeyoung/dungeonsguide/dungeon/DungeonContext.java | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/main/java/kr/syeyoung/dungeonsguide/dungeon') diff --git a/src/main/java/kr/syeyoung/dungeonsguide/dungeon/DungeonContext.java b/src/main/java/kr/syeyoung/dungeonsguide/dungeon/DungeonContext.java index 49d3da4e..2966f67b 100755 --- a/src/main/java/kr/syeyoung/dungeonsguide/dungeon/DungeonContext.java +++ b/src/main/java/kr/syeyoung/dungeonsguide/dungeon/DungeonContext.java @@ -52,7 +52,10 @@ public class DungeonContext { private List milestoneReached = new ArrayList(); @Getter @Setter - private int BossRoomEnterSeconds = -1; + private long BossRoomEnterSeconds = -1; + @Getter + @Setter + private long init = -1; @Getter @Setter private BlockPos bossroomSpawnPos = null; @@ -88,6 +91,7 @@ public class DungeonContext { mapProcessor = new MapProcessor(this); DungeonSpecificDataProvider doorFinder = DungeonSpecificDataProviderRegistry.getDoorFinder(((SkyblockStatus) e.getDungeonsGuide().getSkyblockStatus()).getDungeonName()); trapRoomGen = doorFinder.isTrapSpawn(e.getDungeonsGuide().getSkyblockStatus().getDungeonName()); + init = System.currentTimeMillis(); } public void createEvent(DungeonEventData eventData) { -- cgit