diff options
author | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-09-07 12:11:53 +0200 |
---|---|---|
committer | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-09-07 12:11:53 +0200 |
commit | e80f769ed326f546de62c4755b3d0f74c3e89006 (patch) | |
tree | 7ac5940b46dac7c7c4b0110a53e08e5ada9a4c7b /src/main/java/at/hannibal2 | |
parent | 1378e4e614d566cc0733647f0ae37ce85880fd8a (diff) | |
download | skyhanni-e80f769ed326f546de62c4755b3d0f74c3e89006.tar.gz skyhanni-e80f769ed326f546de62c4755b3d0f74c3e89006.tar.bz2 skyhanni-e80f769ed326f546de62c4755b3d0f74c3e89006.zip |
removed debug command
Diffstat (limited to 'src/main/java/at/hannibal2')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/config/commands/Commands.kt | 6 | ||||
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/features/event/anniversary/ActivePlayerTimer.kt | 6 |
2 files changed, 3 insertions, 9 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/config/commands/Commands.kt b/src/main/java/at/hannibal2/skyhanni/config/commands/Commands.kt index 85cb33f8a..acd280967 100644 --- a/src/main/java/at/hannibal2/skyhanni/config/commands/Commands.kt +++ b/src/main/java/at/hannibal2/skyhanni/config/commands/Commands.kt @@ -8,7 +8,6 @@ import at.hannibal2.skyhanni.data.GuiEditManager import at.hannibal2.skyhanni.features.bingo.BingoCardDisplay import at.hannibal2.skyhanni.features.bingo.BingoNextStepHelper import at.hannibal2.skyhanni.features.chat.Translator -import at.hannibal2.skyhanni.features.event.anniversary.ActivePlayerTimer import at.hannibal2.skyhanni.features.event.diana.BurrowWarpHelper import at.hannibal2.skyhanni.features.event.diana.InquisitorWaypointShare import at.hannibal2.skyhanni.features.fame.AccountUpgradeReminder @@ -37,7 +36,6 @@ import at.hannibal2.skyhanni.test.TestBingo import at.hannibal2.skyhanni.test.command.* import at.hannibal2.skyhanni.utils.APIUtil import at.hannibal2.skyhanni.utils.LorenzUtils -import at.hannibal2.skyhanni.utils.TimeMark import net.minecraft.client.Minecraft import net.minecraft.command.ICommandSender import net.minecraft.event.ClickEvent @@ -249,10 +247,6 @@ object Commands { "shtestmessage", "Sends a custom chat message client side in the chat" ) { TestChatCommand.command(it) } - // TODO: remove for commit - registerCommand("shtestcenturytimer", "bleh") { - ActivePlayerTimer.lastTimerReceived = TimeMark(System.currentTimeMillis() - 19 * 60 * 1000L - 40 * 1000L) - } } private fun internalCommands() { diff --git a/src/main/java/at/hannibal2/skyhanni/features/event/anniversary/ActivePlayerTimer.kt b/src/main/java/at/hannibal2/skyhanni/features/event/anniversary/ActivePlayerTimer.kt index eb8d330a0..94b3e2141 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/event/anniversary/ActivePlayerTimer.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/event/anniversary/ActivePlayerTimer.kt @@ -21,10 +21,10 @@ import kotlin.time.Duration.Companion.seconds object ActivePlayerTimer { - var lastTimerReceived = TimeMark.never() - var lastTimeAlerted = TimeMark.never() + private var lastTimerReceived = TimeMark.never() + private var lastTimeAlerted = TimeMark.never() - var overlay: List<List<Any?>>? = null + private var overlay: List<List<Any?>>? = null @SubscribeEvent fun onChat(event: LorenzChatEvent) { |