aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-01-26 13:17:16 +0100
committerhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-01-26 13:17:16 +0100
commitb24b16da1d19931d6d91e72bcdbebe2acd8968d0 (patch)
treef2050a03654a10a69cb181886dd5a9471b82edec
parentd8c8b1c04b8f712af4cb4d2ee73cbd753f04f822 (diff)
downloadskyhanni-b24b16da1d19931d6d91e72bcdbebe2acd8968d0.tar.gz
skyhanni-b24b16da1d19931d6d91e72bcdbebe2acd8968d0.tar.bz2
skyhanni-b24b16da1d19931d6d91e72bcdbebe2acd8968d0.zip
Code cleanup.
-rw-r--r--src/main/java/at/hannibal2/skyhanni/utils/LorenzUtils.kt15
1 files changed, 0 insertions, 15 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/utils/LorenzUtils.kt b/src/main/java/at/hannibal2/skyhanni/utils/LorenzUtils.kt
index faff0fb0c..cf557e1cb 100644
--- a/src/main/java/at/hannibal2/skyhanni/utils/LorenzUtils.kt
+++ b/src/main/java/at/hannibal2/skyhanni/utils/LorenzUtils.kt
@@ -126,21 +126,6 @@ object LorenzUtils {
SkyHanniMod.consoleLog(text)
}
- // Taken and modified from https://stackoverflow.com/a/11306854/5507634
- fun getCallerClass(vararg skip: String): String? {
- val stElements = Thread.currentThread().stackTrace
- for (i in 1 until stElements.size) {
- val ste = stElements[i]
- val className = ste.className
- if (className != LorenzUtils::class.java.name && className.indexOf("java.lang.Thread") != 0) {
- if (className !in skip) {
- return className
- }
- }
- }
- return null
- }
-
fun getPointsForDojoRank(rank: String): Int {
return when (rank) {
"S" -> 1000