diff options
author | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-05-08 00:33:24 +0200 |
---|---|---|
committer | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-05-08 00:33:24 +0200 |
commit | cc8d383f8d7c8c14a9edbe7e7e0907bb3d85d552 (patch) | |
tree | 9e0fb77be750c5bd7442029870cf21ed3b69fd89 /src/main/java/at/hannibal2/skyhanni/utils | |
parent | 15a6854441bbb4f864bd3ef567d4de914beb6389 (diff) | |
download | skyhanni-cc8d383f8d7c8c14a9edbe7e7e0907bb3d85d552.tar.gz skyhanni-cc8d383f8d7c8c14a9edbe7e7e0907bb3d85d552.tar.bz2 skyhanni-cc8d383f8d7c8c14a9edbe7e7e0907bb3d85d552.zip |
Added inquisitor instant sharing and removed damage indicator requirements
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/utils')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/utils/LorenzUtils.kt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/utils/LorenzUtils.kt b/src/main/java/at/hannibal2/skyhanni/utils/LorenzUtils.kt index df636e0ae..135335067 100644 --- a/src/main/java/at/hannibal2/skyhanni/utils/LorenzUtils.kt +++ b/src/main/java/at/hannibal2/skyhanni/utils/LorenzUtils.kt @@ -270,6 +270,9 @@ object LorenzUtils { fun <K, V> Map<K, V>.editCopy(function: MutableMap<K, V>.() -> Unit) = toMutableMap().also { function(it) }.toMap() + fun <T> List<T>.editCopy(function: MutableList<T>.() -> Unit) = + toMutableList().also { function(it) }.toList() + fun colorCodeToRarity(colorCode: Char): String { return when (colorCode) { 'f' -> "Common" |