aboutsummaryrefslogtreecommitdiff
path: root/src/compat/rei
diff options
context:
space:
mode:
Diffstat (limited to 'src/compat/rei')
-rw-r--r--src/compat/rei/java/moe/nea/firmament/compat/rei/NEUItemEntryRenderer.kt3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/compat/rei/java/moe/nea/firmament/compat/rei/NEUItemEntryRenderer.kt b/src/compat/rei/java/moe/nea/firmament/compat/rei/NEUItemEntryRenderer.kt
index a7b4c99..5430ea8 100644
--- a/src/compat/rei/java/moe/nea/firmament/compat/rei/NEUItemEntryRenderer.kt
+++ b/src/compat/rei/java/moe/nea/firmament/compat/rei/NEUItemEntryRenderer.kt
@@ -47,7 +47,7 @@ object NEUItemEntryRenderer : EntryRenderer<SBItemStack> {
}
val minecraft = MinecraftClient.getInstance()
- var canUseVanillaTooltipEvents = false
+ var canUseVanillaTooltipEvents = true
override fun getTooltip(entry: EntryStack<SBItemStack>, tooltipContext: TooltipContext): Tooltip? {
val stack = entry.value.asImmutableItemStack()
@@ -60,6 +60,7 @@ object NEUItemEntryRenderer : EntryRenderer<SBItemStack> {
stack, tooltipContext.vanillaContext(), TooltipType.BASIC, lore
)
} catch (ex: Exception) {
+ canUseVanillaTooltipEvents = false
ErrorUtil.softError("Failed to use vanilla tooltips", ex)
}
} else {