diff options
author | David Cole <40234707+DavidArthurCole@users.noreply.github.com> | 2024-09-26 19:40:07 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-09-27 09:40:07 +1000 |
commit | 65dde77f6d604faf4a87ddbff2477ee7629bc07f (patch) | |
tree | 732546fba8f09d20c8f789ce4c2c6b472ae6bbd2 /src/main/java/at/hannibal2/skyhanni/data | |
parent | 092a29dd8b13c2b04b0b7c259446ab697201dd5e (diff) | |
download | skyhanni-65dde77f6d604faf4a87ddbff2477ee7629bc07f.tar.gz skyhanni-65dde77f6d604faf4a87ddbff2477ee7629bc07f.tar.bz2 skyhanni-65dde77f6d604faf4a87ddbff2477ee7629bc07f.zip |
Backend: Detekt Fixes Part 1 (#2603)
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/data')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/data/HypixelData.kt | 2 | ||||
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/data/MiningAPI.kt | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/data/HypixelData.kt b/src/main/java/at/hannibal2/skyhanni/data/HypixelData.kt index b48805ef5..039bd7d28 100644 --- a/src/main/java/at/hannibal2/skyhanni/data/HypixelData.kt +++ b/src/main/java/at/hannibal2/skyhanni/data/HypixelData.kt @@ -218,7 +218,7 @@ object HypixelData { // This code is modified from NEU, and depends on NEU (or another mod) sending /locraw. private val jsonBracketPattern = "^\\{.+}".toPattern() - //todo convert to proper json object + // todo convert to proper json object fun checkForLocraw(message: String) { jsonBracketPattern.matchMatcher(message.removeColor()) { try { diff --git a/src/main/java/at/hannibal2/skyhanni/data/MiningAPI.kt b/src/main/java/at/hannibal2/skyhanni/data/MiningAPI.kt index 9d635b1b9..45aec43d3 100644 --- a/src/main/java/at/hannibal2/skyhanni/data/MiningAPI.kt +++ b/src/main/java/at/hannibal2/skyhanni/data/MiningAPI.kt @@ -165,7 +165,6 @@ object MiningAPI { fun onBlockClick(event: BlockClickEvent) { if (!inCustomMiningIsland()) return if (event.clickType != ClickType.LEFT_CLICK) return - //println(event.getBlockState.properties) if (OreBlock.getByStateOrNull(event.getBlockState) == null) return recentClickedBlocks += event.position to SimpleTimeMark.now() } |