diff options
author | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2024-05-01 10:47:08 +0200 |
---|---|---|
committer | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2024-05-01 10:47:08 +0200 |
commit | 7569db40e4b915224fd3b8057d165caf9fa6ab96 (patch) | |
tree | 1c98ccb4d351f3fab56a86ad15ab0e6981c43b9b /src/main/java | |
parent | 8d27fc4a3bf25379cd358842c4e44a49e6c6eec4 (diff) | |
download | skyhanni-7569db40e4b915224fd3b8057d165caf9fa6ab96.tar.gz skyhanni-7569db40e4b915224fd3b8057d165caf9fa6ab96.tar.bz2 skyhanni-7569db40e4b915224fd3b8057d165caf9fa6ab96.zip |
discourage list of any in rendering
Diffstat (limited to 'src/main/java')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/utils/RenderUtils.kt | 2 |
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, |