code refactor to clarify the state of item being dynamic

fix: simple item cell not showing itemcount for stackable and canbedynamic items
This commit is contained in:
minjaesong
2024-02-11 20:51:54 +09:00
parent 8e97914834
commit 77bc646991
30 changed files with 51 additions and 50 deletions

View File

@@ -40,7 +40,7 @@ object MusicDiscHelper {
open class MusicDiscPrototype(originalID: ItemID, module: String, path: String) : ItemFileRef(originalID) {
override var refPath = path
override var refModuleName = module
override val isDynamic = false
override val canBeDynamic = false
@Transient override var ref = ModMgr.getFile(refModuleName, refPath)
override var mediumIdentifier = "music_disc"