mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-06-14 12:34:05 +09:00
new ID for dynamic item work flawlessly with adding multiple at once
This commit is contained in:
@@ -39,7 +39,7 @@ internal object Inventory : ConsoleCommand {
|
||||
if (it.amount == 0) {
|
||||
EchoError("Unexpected zero-amounted item: ID ${it.item.dynamicID}")
|
||||
}
|
||||
Echo("ID ${it.item.dynamicID}${if (it.amount > 1) " ($it.second)" else ""}")
|
||||
Echo("ID ${it.item}${if (it.amount > 1) " (${it.amount})" else ""}")
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user