fix: check for opcode type CONST

This commit is contained in:
oSumAtrIX 2023-05-09 01:44:00 +02:00
parent 81d86b5fe6
commit e5bb63c7ab
No known key found for this signature in database
GPG Key ID: A9B3094ACDB604B4

View File

@ -18,7 +18,7 @@ object CreatePlayerOverviewFingerprint : MethodFingerprint(
),
customFingerprint = { methodDef ->
methodDef.implementation?.instructions?.any {
if (it.opcode != Opcode.INVOKE_VIRTUAL) return@any false
if (it.opcode != Opcode.CONST) return@any false
val literal = (it as WideLiteralInstruction).wideLiteral