Skip to content

Commit

Permalink
fix: check for opcode type CONST
Browse files Browse the repository at this point in the history
  • Loading branch information
oSumAtrIX committed May 8, 2023
1 parent 81d86b5 commit e5bb63c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit e5bb63c

Please sign in to comment.