[Hotfix] Repair treasure check