mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-03-07 20:31:51 +09:00
inventory ui won't always draw item count
This commit is contained in:
@@ -96,8 +96,8 @@ class UIItemInventoryElemSimple(
|
||||
batch.drawStraightLine(barOffset, posY + height - thickness, barOffset + barFullLen * (item!!.durability / item!!.maxDurability), thickness, false)
|
||||
}
|
||||
}
|
||||
else {
|
||||
// draw item count
|
||||
// draw item count when applicable
|
||||
else if (item!!.stackable) {
|
||||
val amountString = amount.toString()
|
||||
|
||||
// highlight item count (blocks/walls) if the item is equipped
|
||||
|
||||
Reference in New Issue
Block a user