Fixed custom model data parser
This commit is contained in:
@@ -27,6 +27,10 @@ object ArgParserCustomModelData : LookupArgParser {
|
||||
return Predicate {
|
||||
val testMeta = it.itemMeta ?: return@Predicate false
|
||||
|
||||
if (!testMeta.hasCustomModelData()) {
|
||||
return@Predicate false
|
||||
}
|
||||
|
||||
testMeta.customModelData == modelData
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user