mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-06-12 11:34:05 +09:00
not reading material csv issue fixed
This commit is contained in:
@@ -287,7 +287,14 @@ class UIItemInventoryDynamicList(
|
||||
|
||||
// set tooltip accordingly
|
||||
if (isCompactMode && it.mouseUp && !tooltipSet) {
|
||||
(Terrarum.ingame as? Ingame)?.setTooltipMessage(it.item?.name)
|
||||
(Terrarum.ingame as? Ingame)?.setTooltipMessage(
|
||||
if (AppLoader.IS_DEVELOPMENT_BUILD) {
|
||||
it.item?.name + "/Mat: ${it.item?.material?.identifier}"
|
||||
}
|
||||
else {
|
||||
it.item?.name
|
||||
}
|
||||
)
|
||||
tooltipSet = true
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user