Skip to content

Commit

Permalink
github is so good at staying awake
Browse files Browse the repository at this point in the history
Signed-off-by: Erymanthus[#5074] | (u/)RayDeeUx <[email protected]>
  • Loading branch information
RayDeeUx committed Dec 8, 2023
1 parent ca32be8 commit afacc4c
Showing 1 changed file with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
package at.hannibal2.skyhanni.features.inventory.itemdisplayoverlay

import at.hannibal2.skyhanni.SkyHanniMod
import at.hannibal2.skyhanni.config.ConfigUpdaterMigrator
import at.hannibal2.skyhanni.config.features.inventory.stacksize.StackSizeConfig.ItemNumberEntry
import at.hannibal2.skyhanni.config.features.inventory.stacksize.StackSizeConfig.ItemNumberEntry.ABIPHONE
Expand Down Expand Up @@ -61,10 +60,10 @@ import net.minecraftforge.fml.common.eventhandler.SubscribeEvent
import kotlin.math.floor
import kotlin.math.log10

object ItemDisplayOverlayFeatures {
object ItemDisplayOverlayFeatures : AbstractStackSize() {

// TODO USE SH-REPO
private val config get() = SkyHanniMod.feature.inventory
private val config get() = configItemStackSize

// TODO repo
// private val xOutOfYNoColorRequiredPattern = ((".*: (§.)?(?<useful>[0-9]+)(§.)?\\/(§.)?(?<total>[0-9]+).*").toPattern())
Expand Down Expand Up @@ -130,7 +129,7 @@ object ItemDisplayOverlayFeatures {
event.stackTip = getStackTip(event.stack)
}

private fun getStackTip(item: ItemStack): String {
override fun getStackTip(item: ItemStack): String {
val itemName = item.cleanName()
val internalName = item.getInternalName()
val chestName = InventoryUtils.openInventoryName()
Expand Down

0 comments on commit afacc4c

Please sign in to comment.