aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/compat/rei/java/moe/nea/firmament/compat/rei/NEUItemEntryRenderer.kt7
1 files changed, 3 insertions, 4 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 5430ea8..c40f00b 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
@@ -39,10 +39,9 @@ object NEUItemEntryRenderer : EntryRenderer<SBItemStack> {
context.matrices.push()
context.matrices.translate(bounds.centerX.toFloat(), bounds.centerY.toFloat(), 0F)
context.matrices.scale(bounds.width.toFloat() / 16F, bounds.height.toFloat() / 16F, 1f)
- context.drawItemWithoutEntity(
- entry.asItemEntry().value,
- -8, -8,
- )
+ val item = entry.asItemEntry().value
+ context.drawItemWithoutEntity(item, -8, -8, )
+ context.drawStackOverlay(minecraft.textRenderer, item, -8, -8)
context.matrices.pop()
}