diff options
author | CalMWolfs <94038482+CalMWolfs@users.noreply.github.com> | 2024-09-23 23:54:16 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-09-23 15:54:16 +0200 |
commit | d39f595b150aaa0eee32c7ebacb961ef48095924 (patch) | |
tree | 03725f81d7090e880df9ae7038e6e40307a2e341 /src/main/java/at/hannibal2/skyhanni/features/skillprogress | |
parent | 74490dcdb619e6eadf1be7665871cdaba4d58ee8 (diff) | |
download | skyhanni-d39f595b150aaa0eee32c7ebacb961ef48095924.tar.gz skyhanni-d39f595b150aaa0eee32c7ebacb961ef48095924.tar.bz2 skyhanni-d39f595b150aaa0eee32c7ebacb961ef48095924.zip |
Backend: Remove more neu code from SkyHanni (#2419)
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/features/skillprogress')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/features/skillprogress/SkillType.kt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/skillprogress/SkillType.kt b/src/main/java/at/hannibal2/skyhanni/features/skillprogress/SkillType.kt index bd44a63f3..b10bc8cb6 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/skillprogress/SkillType.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/skillprogress/SkillType.kt @@ -1,6 +1,6 @@ package at.hannibal2.skyhanni.features.skillprogress -import io.github.moulberry.notenoughupdates.util.Utils +import at.hannibal2.skyhanni.utils.ItemUtils import net.minecraft.block.Block import net.minecraft.init.Blocks import net.minecraft.init.Items @@ -21,7 +21,7 @@ enum class SkillType(val displayName: String, icon: Item) { constructor(displayName: String, block: Block) : this(displayName, Item.getItemFromBlock(block)) - val item: ItemStack by lazy { Utils.createItemStack(icon, displayName) } + val item: ItemStack by lazy { ItemUtils.createItemStack(icon, displayName) } val lowercaseName = displayName.lowercase() val uppercaseName = displayName.uppercase() |