diff options
Diffstat (limited to 'src/main/java/at')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/utils/LorenzUtils.kt | 15 |
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 |