aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal00212@users.noreply.github.com>2024-05-01 10:47:08 +0200
committerhannibal2 <24389977+hannibal00212@users.noreply.github.com>2024-05-01 10:47:08 +0200
commit7569db40e4b915224fd3b8057d165caf9fa6ab96 (patch)
tree1c98ccb4d351f3fab56a86ad15ab0e6981c43b9b
parent8d27fc4a3bf25379cd358842c4e44a49e6c6eec4 (diff)
downloadskyhanni-7569db40e4b915224fd3b8057d165caf9fa6ab96.tar.gz
skyhanni-7569db40e4b915224fd3b8057d165caf9fa6ab96.tar.bz2
skyhanni-7569db40e4b915224fd3b8057d165caf9fa6ab96.zip
discourage list of any in rendering
-rw-r--r--src/main/java/at/hannibal2/skyhanni/utils/RenderUtils.kt2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/utils/RenderUtils.kt b/src/main/java/at/hannibal2/skyhanni/utils/RenderUtils.kt
index 3de627f50..4f62c62bd 100644
--- a/src/main/java/at/hannibal2/skyhanni/utils/RenderUtils.kt
+++ b/src/main/java/at/hannibal2/skyhanni/utils/RenderUtils.kt
@@ -571,6 +571,7 @@ object RenderUtils {
* Accepts a list of lines to print.
* Each line is a list of things to print. Can print String or ItemStack objects.
*/
+ @Deprecated("use List<Renderable>", ReplaceWith(""))
fun Position.renderStringsAndItems(
list: List<List<Any?>>,
extraSpace: Int = 0,
@@ -602,6 +603,7 @@ object RenderUtils {
* Accepts a single line to print.
* This line is a list of things to print. Can print String or ItemStack objects.
*/
+ @Deprecated("use List<Renderable>", ReplaceWith(""))
fun Position.renderSingleLineWithItems(
list: List<Any?>,
posLabel: String,