new ID for dynamic item work flawlessly with adding multiple at once

This commit is contained in:
Song Minjae
2017-04-24 21:31:53 +09:00
parent d70cb2524d
commit a72b6f0d1a
10 changed files with 77 additions and 44 deletions

View File

@@ -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 ""}")
}
}
}